//					FR Family SOFTUNE cpcom V65L08
	.program	"type"
	.library	"lib911.lib"
	.library	"lib911smathfpu.lib"
#macro	__word_noalign	arg1
	.byte ((arg1)>>24)&0xFF,((arg1)>>16)&0xFF,((arg1)>>8)&0xFF,(arg1)&0xFF
#endm
#macro	__half_noalign	arg1
	.byte ((arg1)>>8)&0xFF,(arg1)&0xFF
#endm
	._LANGUAGE	C_FR20, N, U, F
	._FILE	"E:\AndyProject\MT750\MB91590Wsp_CloneLIB_MT750\MB91590Prj\CODE\type.c", 0
	._FILE	"CODE\Driver\DriveIncludes\wdog.h", 1
	._FILE	"E:\AndyProject\MT750\MB91590Wsp_CloneLIB_MT750\MB91590Prj\CODE\type.h", 2
	._FILE	"C:\Softune6\LIB\911\INCLUDE\stddef.h", 3
	._FILE	"C:\Softune6\LIB\911\INCLUDE\string.h", 4
	._BTYPE	0x80000001, 1
	._BTYPE	0x80000002, 1
	._BTYPE	0x80000003, 2
	._BTYPE	0x80000004, 2
	._BTYPE	0x80000005, 4
	._BTYPE	0x80000006, 4
	._BTYPE	0x80000007, 4
	._BTYPE	0x80000008, 4
	._BTYPE	0x80000009, 1
	._BTYPE	0x8000000a, 2
	._BTYPE	0x8000000b, 4
	._BTYPE	0x8000000c, 8
	._BTYPE	0x8000000d, 8
	._BTYPE	0x8000000e, 1
	._BTYPE	0x8000000f, 0
	._BTYPE	0x80000010, 8
	._BTYPE	0x80000011, 8
	._MEMBER	S, 0x19, 3, S
	._SYMBOL	"year", M, 0x80000002, S, 0, 1
	._SYMBOL	"month", M, 0x80000002, S, 1, 1
	._SYMBOL	"day", M, 0x80000002, S, 2, 1
	._MEMBER	E
	._MEMBER	S, 0x1a, 3, S
	._SYMBOL	"hour", M, 0x80000002, S, 0, 1
	._SYMBOL	"minute", M, 0x80000002, S, 1, 1
	._SYMBOL	"second", M, 0x80000002, S, 2, 1
	._MEMBER	E
	._MEMBER	S, 0x1b, 6, S
	._SYMBOL	"date", M, 0x19, S, 0, 3
	._SYMBOL	"time", M, 0x1a, S, 3, 3
	._MEMBER	E
	._SYMBOL	"", G, 0x19, S
	._SYMBOL	"DATE", Y, 0x19
	._SYMBOL	"", G, 0x1a, S
	._SYMBOL	"TIME", Y, 0x1a
	._SYMBOL	"", G, 0x1b, S
	._SYMBOL	"DTIME", Y, 0x1b
	.section	INIT, DATA, align=4
	.global	_uDaysPerMonth
	.align	1
_uDaysPerMonth:
	.byte	31
	.byte	28
	.byte	31
	.byte	30
	.byte	31
	.byte	30
	.byte	31
	.byte	31
	.byte	30
	.byte	31
	.byte	30
	.byte	31
	.section	CONST, CONST, align=4
	.align	1
LS_7:
	.byte	0
	.byte	31
	.byte	28
	.byte	31
	.byte	30
	.byte	31
	.byte	30
	.byte	31
	.byte	31
	.byte	30
	.byte	31
	.byte	30
	.byte	31
LS_5:
	.byte	0
	.byte	31
	.byte	28
	.byte	31
	.byte	30
	.byte	31
	.byte	30
	.byte	31
	.byte	31
	.byte	30
	.byte	31
	.byte	30
	.byte	31
	.global	_HW_WDog_Feed
	.global	_strlen
	.global	_memset
	.global	_memmove
	.global	_memcpy
	.global	___wait_nop
	.section	CODE, CODE, align=2
	.global	_startChar
	._SYMBOL	"startChar", F, 0x80000002, E, "_startChar", F
	._FPARAM	S, 2, F
	._SYMBOL	"str", P, 0x8000000e, A, 8
	._POINTER	1
	._SYMBOL	"endch", P, 0x8000000e, A, 15
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 25
_startChar:
L_418:
	STM	(R4,R5)
	ST	RP,@-SP
	ENTER	#8
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 48
	._CONFIG	S, B
	._SYMBOL	"i", V, 0x80000002, A, -1
L_419:				// Pred: L_418
	._LINE	0, 27
	._LINE	0, 27
	LDI	#0,R2
	STB	R2,@(FP,-1)	; _i
	._LINE	0, 29
L_420:				// Pred: L_419
	._LINE	0, 29
	LDUB	@(FP,-1),R13	; _i
	LD	@(FP,8),R0	; _str
	LDUB	@(R0,R13),R0
	CMP	#0,R0
	BEQ32	L_429,R12
L_421:				// Pred: L_420
	._LINE	0, 29
L_422:				// Pred: L_427 L_421
	._LINE	0, 30
	._LINE	0, 31
	LDUB	@(FP,15),R1	; _endch
	LDUB	@(FP,-1),R13	; _i
	LD	@(FP,8),R0	; _str
	LDUB	@(R0,R13),R0
	CMP	R0,R1
	BNE32	L_424,R12
L_423:				// Pred: L_422
	._LINE	0, 32
	._LINE	0, 33
	LDUB	@(FP,-1),R13	; _i
	LD	@(FP,8),R0	; _str
	STB	R2,@(R0,R13)
	._LINE	0, 34
	BRA32	L_429,R12
L_424:				// Pred: L_422
	._LINE	0, 36
	LDUB	@(FP,-1),R0	; _i
	ADDN	#1,R0
	STB	R0,@(FP,-1)	; _i
	._LINE	0, 37
	LDUB	@(FP,-1),R0	; _i
	LDI	#200,R1
	CMP	R1,R0
	BGT32	L_429,R12
L_425:				// Pred: L_424
	._LINE	0, 38
L_427:				// Pred: L_425
	._LINE	0, 29
	LDUB	@(FP,-1),R13	; _i
	LD	@(FP,8),R0	; _str
	LDUB	@(R0,R13),R0
	CMP	#0,R0
	BNE32	L_422,R12
L_428:				// Pred: L_427
	._LINE	0, 40
L_429:				// Pred: L_428 L_424 L_423 L_420
	._LINE	0, 40
	LDUB	@(FP,-1),R4	; _i
L_430:				// Pred: L_429
	._LINE	0, 40
	._CONFIG	E
	._LINE	0, 41
	LEAVE
	LD	@SP+,RP
	ADDSP	#8
	RET
	._CONFIG	E
	.global	_Delayus
	._SYMBOL	"Delayus", F, 0x8000000f, E, "_Delayus", F
	._FPARAM	S, 1, F
	._SYMBOL	"value", P, 0x80000008, A, 8
	._TYPED	V
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 54
_Delayus:
L_432:
	ST	R4,@-SP
	ST	RP,@-SP
	ENTER	#12
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 48
	._CONFIG	S, B
	._SYMBOL	"i", V, 0x80000008, A, -8
	._TYPED	V
	._SYMBOL	"j", V, 0x80000008, A, -4
	._TYPED	V
L_433:				// Pred: L_432
	._LINE	0, 57
	LDI	#0,R0
;-------volatile_access
	ST	R0,@(FP,-8)	; _i
L_434:				// Pred: L_440 L_433
	._LINE	0, 57
	LD	@(FP,-8),R0	; _i
	LD	@(FP,8),R1	; _value
	CMP	R1,R0
	BNC32	L_441,R12
L_435:				// Pred: L_434
	._LINE	0, 58
	._LINE	0, 59
L_436:				// Pred: L_435
	._LINE	0, 59
	LDI	#0,R0
	ST	R0,@(FP,-4)	; _j
	LD	@(FP,-4),R0	; _j
	CMP	#6,R0
	BNC32	L_440,R12
L_437:				// Pred: L_436
	._LINE	0, 59
L_438:				// Pred: L_439 L_437
	._LINE	0, 60
	._LINE	0, 61
;-------volatile_access
	NOP
;-------end_of_no_optimize_block
	._LINE	0, 62
;-------volatile_access
	NOP
;-------end_of_no_optimize_block
	._LINE	0, 63
	LD	@(FP,-4),R0	; _j
	ADDN	#1,R0
	ST	R0,@(FP,-4)	; _j
L_439:				// Pred: L_438
	._LINE	0, 59
	LD	@(FP,-4),R0	; _j
	CMP	#6,R0
	BC32	L_438,R12
L_741:				// Pred: L_439
L_440:				// Pred: L_741 L_436
	._LINE	0, 64
	LD	@(FP,-8),R0	; _i
	ADDN	#1,R0
	ST	R0,@(FP,-8)	; _i
	BRA32	L_434,R12
L_441:				// Pred: L_434
	._LINE	0, 64
L_442:				// Pred: L_441
	._LINE	0, 64
	._CONFIG	E
	._LINE	0, 65
	LEAVE
	LD	@SP+,RP
	ADDSP	#4
	RET
	._CONFIG	E
	.global	_Delayms
	._SYMBOL	"Delayms", F, 0x8000000f, E, "_Delayms", F
	._FPARAM	S, 1, F
	._SYMBOL	"value", P, 0x80000004, A, 10
	._TYPED	V
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 66
_Delayms:
L_43:
	ST	R4,@-SP
	ST	RP,@-SP
	ENTER	#4
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 40
	._CONFIG	S, B
L_44:				// Pred: L_43
	._LINE	0, 68
L_45:				// Pred: L_45 L_44
	._LINE	0, 69
	._LINE	0, 70
	LDI	#1000,R4
	CALL21	_Delayus
	._LINE	0, 71
	CALL21	_HW_WDog_Feed
	._LINE	0, 72
	LDUH	@(FP,10),R0	; _value
	ADDN	#-1,R0
	STH	R0,@(FP,10)	; _value
	._LINE	0, 73
	LDUH	@(FP,10),R0	; _value
	CMP	#0,R0
	BNE32	L_45,R12
L_46:				// Pred: L_45
	._LINE	0, 73
L_47:				// Pred: L_46
	._LINE	0, 73
	._CONFIG	E
	._LINE	0, 74
	LEAVE
	LD	@SP+,RP
	ADDSP	#4
	RET
	._CONFIG	E
	.global	_ASCII_CodeChk
	._SYMBOL	"ASCII_CodeChk", F, 0x80000002, E, "_ASCII_CodeChk", F
	._FPARAM	S, 2, F
	._SYMBOL	"psrc", P, 0x8000000e, A, 8
	._POINTER	1
	._SYMBOL	"size", P, 0x80000002, A, 15
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 90
_ASCII_CodeChk:
L_444:
	STM	(R4,R5)
	ST	RP,@-SP
	ENTER	#8
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 48
	._CONFIG	S, B
	._SYMBOL	"i", V, 0x80000002, A, -1
L_445:				// Pred: L_444
	._LINE	0, 94
	LDI	#0,R0
	STB	R0,@(FP,-1)	; _i
	LDUB	@(FP,-1),R0	; _i
	LDUB	@(FP,15),R1	; _size
	CMP	R1,R0
	BGE32	L_459,R12
L_446:				// Pred: L_445
	._LINE	0, 94
L_447:				// Pred: L_458 L_446
	._LINE	0, 95
	._LINE	0, 97
	LD	@(FP,8),R0	; _psrc
	LDUB	@R0,R0
	LDI	#48,R1
	CMP	R1,R0
	BLT32	L_450,R12
L_448:				// Pred: L_447
	._LINE	0, 97
	LD	@(FP,8),R0	; _psrc
	LDUB	@R0,R0
	LDI	#57,R1
	CMP	R1,R0
	BGT32	L_450,R12
L_449:				// Pred: L_448
	._LINE	0, 98
	BRA32	L_457,R12
L_450:				// Pred: L_448 L_447
	._LINE	0, 99
	LD	@(FP,8),R0	; _psrc
	LDUB	@R0,R0
	LDI	#65,R1
	CMP	R1,R0
	BLT32	L_453,R12
L_451:				// Pred: L_450
	._LINE	0, 99
	LD	@(FP,8),R0	; _psrc
	LDUB	@R0,R0
	LDI	#90,R1
	CMP	R1,R0
	BGT32	L_453,R12
L_452:				// Pred: L_451
	._LINE	0, 100
	BRA32	L_457,R12
L_453:				// Pred: L_451 L_450
	._LINE	0, 101
	LD	@(FP,8),R0	; _psrc
	LDUB	@R0,R0
	LDI	#97,R1
	CMP	R1,R0
	BLT32	L_456,R12
L_454:				// Pred: L_453
	._LINE	0, 101
	LD	@(FP,8),R0	; _psrc
	LDUB	@R0,R0
	LDI	#122,R1
	CMP	R1,R0
	BGT32	L_456,R12
L_455:				// Pred: L_454
	._LINE	0, 102
	BRA32	L_457,R12
L_456:				// Pred: L_454 L_453
	._LINE	0, 104
	LDI	#0,R4
	BRA32	L_722,R12
L_457:				// Pred: L_455 L_452 L_449
	._LINE	0, 105
	LDUB	@(FP,-1),R0	; _i
	ADDN	#1,R0
	STB	R0,@(FP,-1)	; _i
	LD	@(FP,8),R0	; _psrc
	ADDN	#1,R0
	ST	R0,@(FP,8)	; _psrc
L_458:				// Pred: L_457
	._LINE	0, 94
	LDUB	@(FP,-1),R1	; _i
	LDUB	@(FP,15),R0	; _size
	CMP	R0,R1
	BLT32	L_447,R12
L_459:				// Pred: L_458 L_445
	._LINE	0, 107
	LDI	#1,R4
L_722:				// Pred: L_459 L_456
	._LINE	0, 107
L_460:				// Pred: L_722
	._LINE	0, 107
	._CONFIG	E
	._LINE	0, 108
	LEAVE
	LD	@SP+,RP
	ADDSP	#8
	RET
	._CONFIG	E
	.global	_String2Dec
	._SYMBOL	"String2Dec", F, 0x80000005, E, "_String2Dec", F
	._FPARAM	S, 2, F
	._SYMBOL	"psrc", P, 0x8000000e, A, 8
	._POINTER	1
	._SYMBOL	"size", P, 0x80000002, A, 15
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 124
_String2Dec:
L_462:
	STM	(R4,R5)
	ST	RP,@-SP
	ENTER	#12
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 48
	._CONFIG	S, B
	._SYMBOL	"result", V, 0x80000005, A, -8
	._SYMBOL	"i", V, 0x80000002, A, -2
	._SYMBOL	"NegFlag", V, 0x80000002, A, -1
L_463:				// Pred: L_462
	._LINE	0, 126
	._LINE	0, 126
	LDI	#0,R4
	ST	R4,@(FP,-8)	; _result
	._LINE	0, 128
	LDI	#0,R3
	STB	R3,@(FP,-1)	; _NegFlag
	._LINE	0, 130
L_464:				// Pred: L_463
	._LINE	0, 130
	STB	R3,@(FP,-2)	; _i
	LDUB	@(FP,-2),R1	; _i
	LDUB	@(FP,15),R0	; _size
	CMP	R0,R1
	BGE32	L_474,R12
L_465:				// Pred: L_464
	._LINE	0, 130
L_466:				// Pred: L_472 L_465
	._LINE	0, 131
	._LINE	0, 132
	LD	@(FP,8),R0	; _psrc
	LDUB	@R0,R0
	LDI	#45,R1
	CMP	R1,R0
	BNE32	L_468,R12
L_467:				// Pred: L_466
	._LINE	0, 133
	._LINE	0, 134
	LDI	#1,R0
	STB	R0,@(FP,-1)	; _NegFlag
	._LINE	0, 135
	LD	@(FP,8),R0	; _psrc
	ADDN	#1,R0
	ST	R0,@(FP,8)	; _psrc
	._LINE	0, 136
	LDUB	@(FP,-2),R0	; _i
	ADDN	#1,R0
	STB	R0,@(FP,-2)	; _i
	._LINE	0, 137
L_468:				// Pred: L_467 L_466
	._LINE	0, 139
	LD	@(FP,8),R0	; _psrc
	LDUB	@R0,R0
	LDI	#48,R2
	CMP	R2,R0
	BLT32	L_474,R12
L_469:				// Pred: L_468
	._LINE	0, 139
	LD	@(FP,8),R0	; _psrc
	LDUB	@R0,R0
	LDI	#57,R1
	CMP	R1,R0
	BLE32	L_471,R12
L_470:				// Pred: L_469
	._LINE	0, 140
	BRA32	L_474,R12
L_471:				// Pred: L_469
	._LINE	0, 142
	LD	@(FP,-8),R0	; _result
	LDI	#10,R1
	MUL	R1,R0
	MOV	MDL,R0
	ST	R0,@(FP,-8)	; _result
	._LINE	0, 143
	LD	@(FP,8),R0	; _psrc
	LDUB	@R0,R0
	SUBN	R2,R0
	LD	@(FP,-8),R1	; _result
	ADDN	R0,R1
	ST	R1,@(FP,-8)	; _result
	._LINE	0, 144
	LD	@(FP,8),R0	; _psrc
	ADDN	#1,R0
	ST	R0,@(FP,8)	; _psrc
	._LINE	0, 145
	LDUB	@(FP,-2),R0	; _i
	ADDN	#1,R0
	STB	R0,@(FP,-2)	; _i
L_472:				// Pred: L_471
	._LINE	0, 130
	LDUB	@(FP,-2),R0	; _i
	LDUB	@(FP,15),R1	; _size
	CMP	R1,R0
	BLT32	L_466,R12
L_473:				// Pred: L_472
	._LINE	0, 147
L_474:				// Pred: L_473 L_470 L_468 L_464
	._LINE	0, 147
	LDUB	@(FP,-1),R0	; _NegFlag
	CMP	#1,R0
	BNE32	L_476,R12
L_475:				// Pred: L_474
	._LINE	0, 148
	LD	@(FP,-8),R0	; _result
	SUBN	R0,R4
	BRA32	L_723,R12
L_476:				// Pred: L_474
	._LINE	0, 150
;-------volatile_access
	LD	@(FP,-8),R4	; _result
L_723:				// Pred: L_476 L_475
	._LINE	0, 150
L_477:				// Pred: L_723
	._LINE	0, 150
	._CONFIG	E
	._LINE	0, 151
	LEAVE
	LD	@SP+,RP
	ADDSP	#8
	RET
	._CONFIG	E
	.global	_DotString2Dec
	._SYMBOL	"DotString2Dec", F, 0x80000002, E, "_DotString2Dec", F
	._FPARAM	S, 2, F
	._SYMBOL	"psrc", P, 0x8000000e, A, 8
	._POINTER	1
	._SYMBOL	"val", P, 0x80000008, A, 12
	._POINTER	1
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 167
_DotString2Dec:
L_478:
	STM	(R4,R5)
	ST	RP,@-SP
	ENTER	#12
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 48
	._CONFIG	S, B
	._SYMBOL	"result", V, 0x80000008, A, -8
	._SYMBOL	"dot", V, 0x80000002, A, -2
	._SYMBOL	"dotFlag", V, 0x80000002, A, -1
L_479:				// Pred: L_478
	._LINE	0, 169
	._LINE	0, 169
	LDI	#0,R0
	ST	R0,@(FP,-8)	; _result
	._LINE	0, 170
	LDI	#0,R0
	STB	R0,@(FP,-2)	; _dot
	._LINE	0, 171
	STB	R0,@(FP,-1)	; _dotFlag
	._LINE	0, 173
L_480:				// Pred: L_487 L_479
	._LINE	0, 174
	._LINE	0, 175
	LD	@(FP,8),R0	; _psrc
	LDUB	@R0,R0
	LDI	#48,R2
	CMP	R2,R0
	BLT32	L_485,R12
L_481:				// Pred: L_480
	._LINE	0, 175
	LD	@(FP,8),R0	; _psrc
	LDUB	@R0,R0
	LDI	#57,R1
	CMP	R1,R0
	BGT32	L_485,R12
L_482:				// Pred: L_481
	._LINE	0, 176
	._LINE	0, 177
	LDUB	@(FP,-1),R0	; _dotFlag
	CMP	#0,R0
	BLE32	L_484,R12
L_483:				// Pred: L_482
	._LINE	0, 178
	LDUB	@(FP,-2),R0	; _dot
	ADDN	#1,R0
;-------volatile_access
	STB	R0,@(FP,-2)	; _dot
L_484:				// Pred: L_483 L_482
	._LINE	0, 180
	LD	@(FP,-8),R0	; _result
	LDI	#10,R1
	MULU	R1,R0
	MOV	MDL,R0
	ST	R0,@(FP,-8)	; _result
	._LINE	0, 181
	LD	@(FP,8),R0	; _psrc
	LDUB	@R0,R0
	SUBN	R2,R0
	LD	@(FP,-8),R1	; _result
	ADDN	R0,R1
	ST	R1,@(FP,-8)	; _result
	._LINE	0, 182
	LD	@(FP,8),R0	; _psrc
	ADDN	#1,R0
	ST	R0,@(FP,8)	; _psrc
	._LINE	0, 183
	BRA32	L_487,R12
L_485:				// Pred: L_481 L_480
	._LINE	0, 184
	LD	@(FP,8),R0	; _psrc
	LDUB	@R0,R0
	LDI	#46,R1
	CMP	R1,R0
	BNE32	L_489,R12
L_486:				// Pred: L_485
	._LINE	0, 185
	._LINE	0, 186
	LDI	#1,R0
	STB	R0,@(FP,-1)	; _dotFlag
	._LINE	0, 187
	LD	@(FP,8),R0	; _psrc
	ADDN	#1,R0
	ST	R0,@(FP,8)	; _psrc
	._LINE	0, 188
	._LINE	0, 190
L_487:				// Pred: L_486 L_484
	._LINE	0, 192
	LD	@(FP,8),R0	; _psrc
	LDUB	@R0,R0
	CMP	#0,R0
	BNE32	L_480,R12
L_488:				// Pred: L_487
	._LINE	0, 194
L_489:				// Pred: L_488 L_485
	._LINE	0, 194
	LD	@(FP,-8),R0	; _result
	LD	@(FP,12),R1	; _val
	ST	R0,@R1
	._LINE	0, 195
	LDUB	@(FP,-2),R4	; _dot
L_490:				// Pred: L_489
	._LINE	0, 195
	._CONFIG	E
	._LINE	0, 196
	LEAVE
	LD	@SP+,RP
	ADDSP	#8
	RET
	._CONFIG	E
	.global	_String2Hex
	._SYMBOL	"String2Hex", F, 0x80000008, E, "_String2Hex", F
	._FPARAM	S, 2, F
	._SYMBOL	"psrc", P, 0x8000000e, A, 8
	._POINTER	1
	._SYMBOL	"size", P, 0x80000002, A, 15
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 212
_String2Hex:
L_492:
	STM	(R4,R5)
	ST	RP,@-SP
	ENTER	#12
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 48
	._CONFIG	S, B
	._SYMBOL	"result", V, 0x80000008, A, -8
	._SYMBOL	"i", V, 0x80000002, A, -1
L_493:				// Pred: L_492
	._LINE	0, 214
	._LINE	0, 214
	LDI	#0,R0
	ST	R0,@(FP,-8)	; _result
	._LINE	0, 217
L_494:				// Pred: L_493
	._LINE	0, 217
	LDI	#0,R0
	STB	R0,@(FP,-1)	; _i
	LDUB	@(FP,-1),R0	; _i
	LDUB	@(FP,15),R1	; _size
	CMP	R1,R0
	BGE32	L_509,R12
L_495:				// Pred: L_494
	._LINE	0, 217
	LDI:8	#-55,R3
	EXTSB	R3
	LDI:8	#-87,R2
	EXTSB	R2
L_496:				// Pred: L_507 L_495
	._LINE	0, 218
	._LINE	0, 219
	LD	@(FP,8),R0	; _psrc
	LDUB	@R0,R0
	LDI	#48,R4
	CMP	R4,R0
	BLT32	L_499,R12
L_497:				// Pred: L_496
	._LINE	0, 219
	LD	@(FP,8),R0	; _psrc
	LDUB	@R0,R0
	LDI	#57,R1
	CMP	R1,R0
	BGT32	L_499,R12
L_498:				// Pred: L_497
	._LINE	0, 220
	._LINE	0, 221
	LD	@(FP,-8),R0	; _result
	LSL	#4,R0
	ST	R0,@(FP,-8)	; _result
	._LINE	0, 222
	LD	@(FP,8),R0	; _psrc
	LDUB	@R0,R0
	SUBN	R4,R0
	LD	@(FP,-8),R1	; _result
	ADDN	R0,R1
	ST	R1,@(FP,-8)	; _result
	._LINE	0, 223
	BRA32	L_506,R12
L_499:				// Pred: L_497 L_496
	._LINE	0, 224
	LD	@(FP,8),R0	; _psrc
	LDUB	@R0,R0
	LDI	#65,R1
	CMP	R1,R0
	BLT32	L_502,R12
L_500:				// Pred: L_499
	._LINE	0, 224
	LD	@(FP,8),R0	; _psrc
	LDUB	@R0,R0
	LDI	#70,R1
	CMP	R1,R0
	BGT32	L_502,R12
L_501:				// Pred: L_500
	._LINE	0, 225
	._LINE	0, 226
	LD	@(FP,-8),R0	; _result
	LSL	#4,R0
	ST	R0,@(FP,-8)	; _result
	._LINE	0, 227
	LD	@(FP,8),R0	; _psrc
	LDUB	@R0,R0
	ADDN	R3,R0
	LD	@(FP,-8),R1	; _result
	ADDN	R0,R1
	ST	R1,@(FP,-8)	; _result
	._LINE	0, 228
	BRA32	L_506,R12
L_502:				// Pred: L_500 L_499
	._LINE	0, 229
	LD	@(FP,8),R0	; _psrc
	LDUB	@R0,R0
	LDI	#97,R1
	CMP	R1,R0
	BLT32	L_509,R12
L_503:				// Pred: L_502
	._LINE	0, 229
	LD	@(FP,8),R0	; _psrc
	LDUB	@R0,R0
	LDI	#102,R1
	CMP	R1,R0
	BGT32	L_509,R12
L_504:				// Pred: L_503
	._LINE	0, 230
	._LINE	0, 231
	LD	@(FP,-8),R0	; _result
	LSL	#4,R0
	ST	R0,@(FP,-8)	; _result
	._LINE	0, 232
	LD	@(FP,8),R0	; _psrc
	LDUB	@R0,R0
	ADDN	R2,R0
	LD	@(FP,-8),R1	; _result
	ADDN	R0,R1
	ST	R1,@(FP,-8)	; _result
	._LINE	0, 233
	._LINE	0, 235
L_506:				// Pred: L_504 L_501 L_498
	._LINE	0, 237
	LD	@(FP,8),R0	; _psrc
	ADDN	#1,R0
	ST	R0,@(FP,8)	; _psrc
	._LINE	0, 238
	LDUB	@(FP,-1),R0	; _i
	ADDN	#1,R0
	STB	R0,@(FP,-1)	; _i
L_507:				// Pred: L_506
	._LINE	0, 217
	LDUB	@(FP,-1),R0	; _i
	LDUB	@(FP,15),R1	; _size
	CMP	R1,R0
	BLT32	L_496,R12
L_508:				// Pred: L_507
	._LINE	0, 240
L_509:				// Pred: L_508 L_503 L_502 L_494
	._LINE	0, 240
	LD	@(FP,-8),R4	; _result
L_510:				// Pred: L_509
	._LINE	0, 240
	._CONFIG	E
	._LINE	0, 241
	LEAVE
	LD	@SP+,RP
	ADDSP	#8
	RET
	._CONFIG	E
	.global	_Dec2String
	._SYMBOL	"Dec2String", F, 0x80000002, E, "_Dec2String", F
	._FPARAM	S, 2, F
	._SYMBOL	"psrc", P, 0x8000000e, A, 8
	._POINTER	1
	._SYMBOL	"val", P, 0x80000008, A, 12
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 257
_Dec2String:
L_123:
	STM	(R4,R5)
	ST	RP,@-SP
	ENTER	#28
	STM	(R8)
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 64
	._CONFIG	S, B
	._SYMBOL	"local", V, 0x8000000e, A, -23
	._ARRAY	1, 1, 10, 0
	._SYMBOL	"p", V, 0x8000000e, A, -12
	._POINTER	1
	._SYMBOL	"result", V, 0x80000008, A, -8
	._SYMBOL	"count", V, 0x80000002, A, -1
L_124:				// Pred: L_123
	._LINE	0, 259
	._LINE	0, 260
	MOV	FP,R0
	ADDN	#-13,R0
	ST	R0,@(FP,-12)	; _p
	._LINE	0, 261
	LDI	#0,R0
	ST	R0,@(FP,-8)	; _result
	._LINE	0, 262
	LDI	#0,R2
	STB	R2,@(FP,-1)	; _count
	._LINE	0, 264
	LD	@(FP,-12),R1	; _p
	MOV	R1,R0
	ADDN	#-1,R0
	ST	R0,@(FP,-12)	; _p
	STB	R2,@R1
	._LINE	0, 265
	LD	@(FP,12),R0	; _val
	ST	R0,@(FP,-8)	; _result
	._LINE	0, 266
L_125:				// Pred: L_125 L_124
	._LINE	0, 267
	._LINE	0, 268
	LD	@(FP,-12),R8	; _p
	MOV	R8,R0
	ADDN	#-1,R0
	ST	R0,@(FP,-12)	; _p
	LD	@(FP,-8),R4	; _result
	LDI	#10,R5
	CALL21	__umodi
	LDI	#48,R0
	ADDN	R0,R4
	STB	R4,@R8
	._LINE	0, 269
	LD	@(FP,-8),R4	; _result
	LDI	#10,R5
	CALL21	__udivi
	ST	R4,@(FP,-8)	; _result
	._LINE	0, 270
	LDUB	@(FP,-1),R0	; _count
	ADDN	#1,R0
	STB	R0,@(FP,-1)	; _count
	._LINE	0, 271
	LD	@(FP,-8),R0	; _result
	CMP	#0,R0
	BHI32	L_125,R12
L_126:				// Pred: L_125
	._LINE	0, 273
	LD	@(FP,8),R4	; _psrc
	LD	@(FP,-12),R5	; _p
	ADDN	#1,R5
	LDUB	@(FP,-1),R6	; _count
	ADDN	#1,R6
	CALL21	_memmove
	._LINE	0, 274
	LDUB	@(FP,-1),R4	; _count
L_127:				// Pred: L_126
	._LINE	0, 274
	._CONFIG	E
	._LINE	0, 275
	LDM	(R8)
	LEAVE
	LD	@SP+,RP
	ADDSP	#8
	RET
	._CONFIG	E
	.global	_Hex2String
	._SYMBOL	"Hex2String", F, 0x80000002, E, "_Hex2String", F
	._FPARAM	S, 2, F
	._SYMBOL	"psrc", P, 0x8000000e, A, 8
	._POINTER	1
	._SYMBOL	"val", P, 0x80000008, A, 12
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 291
_Hex2String:
L_511:
	STM	(R4,R5)
	ST	RP,@-SP
	ENTER	#28
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 64
	._CONFIG	S, B
	._SYMBOL	"local", V, 0x8000000e, A, -23
	._ARRAY	1, 1, 10, 0
	._SYMBOL	"p", V, 0x8000000e, A, -12
	._POINTER	1
	._SYMBOL	"result", V, 0x80000008, A, -8
	._SYMBOL	"count", V, 0x80000002, A, -1
L_512:				// Pred: L_511
	._LINE	0, 293
	._LINE	0, 294
	MOV	FP,R0
	ADDN	#-13,R0
	ST	R0,@(FP,-12)	; _p
	._LINE	0, 295
	LDI	#0,R0
	ST	R0,@(FP,-8)	; _result
	._LINE	0, 296
	LDI	#0,R2
	STB	R2,@(FP,-1)	; _count
	._LINE	0, 298
	LD	@(FP,-12),R1	; _p
	MOV	R1,R0
	ADDN	#-1,R0
	ST	R0,@(FP,-12)	; _p
	STB	R2,@R1
	._LINE	0, 299
	LD	@(FP,-12),R1	; _p
	MOV	R1,R0
	ADDN	#-1,R0
	ST	R0,@(FP,-12)	; _p
	LDI	#72,R0
	STB	R0,@R1
	._LINE	0, 300
	LDUB	@(FP,-1),R0	; _count
	ADDN	#1,R0
	STB	R0,@(FP,-1)	; _count
	._LINE	0, 301
	LD	@(FP,12),R0	; _val
	ST	R0,@(FP,-8)	; _result
	._LINE	0, 302
L_513:				// Pred: L_520 L_512
	._LINE	0, 303
	._LINE	0, 304
	LDUB	@(FP,-1),R0	; _count
	ADDN	#1,R0
	STB	R0,@(FP,-1)	; _count
	._LINE	0, 305
	LD	@(FP,-8),R0	; _result
	CMP	#0,R0
	BLS32	L_518,R12
L_514:				// Pred: L_513
	._LINE	0, 306
	._LINE	0, 307
	LD	@(FP,-8),R0	; _result
	LDI	#15,R5
	AND	R5,R0
	CMP	#10,R0
	BNC32	L_516,R12
L_515:				// Pred: L_514
	._LINE	0, 308
	LD	@(FP,-12),R1	; _p
	MOV	R1,R0
	ADDN	#-1,R0
	ST	R0,@(FP,-12)	; _p
	LD	@(FP,-8),R0	; _result
	AND	R5,R0
	LDI	#48,R2
	ADDN	R2,R0
	STB	R0,@R1
	BRA32	L_517,R12
L_516:				// Pred: L_514
	._LINE	0, 310
	LD	@(FP,-12),R1	; _p
	MOV	R1,R0
	ADDN	#-1,R0
	ST	R0,@(FP,-12)	; _p
	LD	@(FP,-8),R2	; _result
	AND	R5,R2
	LDI	#65,R0
	ADDN	R0,R2
	ADDN	#-10,R2
;-------volatile_access
	STB	R2,@R1
L_517:				// Pred: L_516 L_515
	._LINE	0, 312
	LD	@(FP,-8),R0	; _result
	LSR	#4,R0
	ST	R0,@(FP,-8)	; _result
	._LINE	0, 313
	BRA32	L_520,R12
L_518:				// Pred: L_513
	._LINE	0, 315
	._LINE	0, 316
	LDUB	@(FP,-1),R2	; _count
	MOV	R2,R0
	LSR	#31,R0
	ADDN	R2,R0
	LDI:8	#-2,R1
	EXTSB	R1
	AND	R1,R0
	SUB	R0,R2
	BEQ32	L_522,R12
L_519:				// Pred: L_518
	._LINE	0, 317
	LD	@(FP,-12),R1	; _p
	MOV	R1,R0
	ADDN	#-1,R0
	ST	R0,@(FP,-12)	; _p
	LDI	#48,R0
	STB	R0,@R1
	._LINE	0, 318
	BRA32	L_522,R12
L_520:				// Pred: L_517
	._LINE	0, 320
	LDUB	@(FP,-1),R0	; _count
	CMP	#9,R0
	BLT32	L_513,R12
L_521:				// Pred: L_520
	._LINE	0, 322
L_522:				// Pred: L_521 L_519 L_518
	._LINE	0, 322
	LD	@(FP,8),R4	; _psrc
	LD	@(FP,-12),R5	; _p
	ADDN	#1,R5
	LDUB	@(FP,-1),R6	; _count
	ADDN	#1,R6
	CALL21	_memmove
	._LINE	0, 324
	LDUB	@(FP,-1),R4	; _count
L_523:				// Pred: L_522
	._LINE	0, 324
	._CONFIG	E
	._LINE	0, 325
	LEAVE
	LD	@SP+,RP
	ADDSP	#8
	RET
	._CONFIG	E
	.global	_DateCmp
	._SYMBOL	"DateCmp", F, 0x80000001, E, "_DateCmp", F
	._FPARAM	S, 2, F
	._SYMBOL	"Fdate", P, 0x19, A, 8
	._SYMBOL	"Bdate", P, 0x19, A, 12
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 341
_DateCmp:
L_142:
	STM	(R4,R5)
	ST	RP,@-SP
	ENTER	#12
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 48
	._CONFIG	S, B
	._SYMBOL	"Fyear", V, 0x80000002, A, -6
	._SYMBOL	"Fmonth", V, 0x80000002, A, -5
	._SYMBOL	"Fday", V, 0x80000002, A, -4
	._SYMBOL	"Byear", V, 0x80000002, A, -3
	._SYMBOL	"Bmonth", V, 0x80000002, A, -2
	._SYMBOL	"Bday", V, 0x80000002, A, -1
L_143:				// Pred: L_142
	._LINE	0, 343
	._LINE	0, 346
	LDUB	@R4,R13
	LDI	#15,R2
	AND	R2,R13
	LDUB	@R4,R0
	ASR	#4,R0
	LDI	#10,R1
	MUL	R1,R0
	MOV	MDL,R0
	ADDN	R0,R13
	STB	R13,@(FP,-6)	; _Fyear
	._LINE	0, 347
	LDI	#1,R13
	LDUB	@(R4,R13),R6
	AND	R2,R6
	LDUB	@(R4,R13),R0
	ASR	#4,R0
	MUL	R1,R0
	MOV	MDL,R0
	ADDN	R0,R6
	STB	R6,@(FP,-5)	; _Fmonth
	._LINE	0, 348
	LDI	#2,R13
	LDUB	@(R4,R13),R3
	AND	R2,R3
	LDUB	@(R4,R13),R0
	ASR	#4,R0
	MUL	R1,R0
	MOV	MDL,R0
	ADDN	R0,R3
	STB	R3,@(FP,-4)	; _Fday
	._LINE	0, 350
	LDUB	@R5,R3
	AND	R2,R3
	LDUB	@R5,R0
	ASR	#4,R0
	MUL	R1,R0
	MOV	MDL,R0
	ADDN	R0,R3
	STB	R3,@(FP,-3)	; _Byear
	._LINE	0, 351
	LDI	#1,R13
	LDUB	@(R5,R13),R12
	AND	R2,R12
	LDUB	@(R5,R13),R0
	ASR	#4,R0
	MUL	R1,R0
	MOV	MDL,R0
	ADDN	R0,R12
	STB	R12,@(FP,-2)	; _Bmonth
	._LINE	0, 352
	LDI	#2,R13
	LDUB	@(R5,R13),R7
	AND	R2,R7
	LDUB	@(R5,R13),R0
	ASR	#4,R0
	MUL	R1,R0
	MOV	MDL,R0
	ADDN	R0,R7
	STB	R7,@(FP,-1)	; _Bday
	._LINE	0, 354
	LDUB	@(FP,-6),R1	; _Fyear
	LDUB	@(FP,-3),R0	; _Byear
	CMP	R0,R1
	BEQ32	L_145,R12
L_144:				// Pred: L_143
	._LINE	0, 355
	LDUB	@(FP,-3),R4	; _Byear
	LDUB	@(FP,-6),R0	; _Fyear
	SUBN	R0,R4
	EXTSB	R4
	BRA32	L_724,R12
L_145:				// Pred: L_143
	._LINE	0, 356
	LDUB	@(FP,-5),R0	; _Fmonth
	LDUB	@(FP,-2),R1	; _Bmonth
	CMP	R1,R0
	BEQ32	L_148,R12
L_147:				// Pred: L_145
	._LINE	0, 357
	LDUB	@(FP,-2),R4	; _Bmonth
	LDUB	@(FP,-5),R0	; _Fmonth
	SUBN	R0,R4
	EXTSB	R4
	BRA32	L_724,R12
L_148:				// Pred: L_145
	._LINE	0, 358
	LDUB	@(FP,-4),R0	; _Fday
	LDUB	@(FP,-1),R1	; _Bday
	CMP	R1,R0
	BEQ32	L_150,R12
L_149:				// Pred: L_148
	._LINE	0, 359
	LDUB	@(FP,-1),R4	; _Bday
	LDUB	@(FP,-4),R0	; _Fday
	SUBN	R0,R4
	EXTSB	R4
	BRA32	L_724,R12
L_150:				// Pred: L_148
	._LINE	0, 361
	LDI	#0,R4
L_724:				// Pred: L_150 L_149 L_147 L_144
	._LINE	0, 361
L_146:				// Pred: L_724
	._LINE	0, 361
	._CONFIG	E
	._LINE	0, 362
	LEAVE
	LD	@SP+,RP
	ADDSP	#8
	RET
	._CONFIG	E
	.global	_TimeCmp
	._SYMBOL	"TimeCmp", F, 0x80000001, E, "_TimeCmp", F
	._FPARAM	S, 2, F
	._SYMBOL	"Ftime", P, 0x1a, A, 8
	._SYMBOL	"Btime", P, 0x1a, A, 12
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 380
_TimeCmp:
L_151:
	STM	(R4,R5)
	ST	RP,@-SP
	ENTER	#12
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 48
	._CONFIG	S, B
	._SYMBOL	"Fhour", V, 0x80000002, A, -6
	._SYMBOL	"Fminute", V, 0x80000002, A, -5
	._SYMBOL	"Fsecond", V, 0x80000002, A, -4
	._SYMBOL	"Bhour", V, 0x80000002, A, -3
	._SYMBOL	"Bminute", V, 0x80000002, A, -2
	._SYMBOL	"Bsecond", V, 0x80000002, A, -1
L_152:				// Pred: L_151
	._LINE	0, 382
	._LINE	0, 385
	LDUB	@R4,R13
	LDI	#15,R2
	AND	R2,R13
	LDUB	@R4,R0
	ASR	#4,R0
	LDI	#10,R1
	MUL	R1,R0
	MOV	MDL,R0
	ADDN	R0,R13
	STB	R13,@(FP,-6)	; _Fhour
	._LINE	0, 386
	LDI	#1,R13
	LDUB	@(R4,R13),R6
	AND	R2,R6
	LDUB	@(R4,R13),R0
	ASR	#4,R0
	MUL	R1,R0
	MOV	MDL,R0
	ADDN	R0,R6
	STB	R6,@(FP,-5)	; _Fminute
	._LINE	0, 387
	LDI	#2,R13
	LDUB	@(R4,R13),R3
	AND	R2,R3
	LDUB	@(R4,R13),R0
	ASR	#4,R0
	MUL	R1,R0
	MOV	MDL,R0
	ADDN	R0,R3
	STB	R3,@(FP,-4)	; _Fsecond
	._LINE	0, 389
	LDUB	@R5,R3
	AND	R2,R3
	LDUB	@R5,R0
	ASR	#4,R0
	MUL	R1,R0
	MOV	MDL,R0
	ADDN	R0,R3
	STB	R3,@(FP,-3)	; _Bhour
	._LINE	0, 390
	LDI	#1,R13
	LDUB	@(R5,R13),R12
	AND	R2,R12
	LDUB	@(R5,R13),R0
	ASR	#4,R0
	MUL	R1,R0
	MOV	MDL,R0
	ADDN	R0,R12
	STB	R12,@(FP,-2)	; _Bminute
	._LINE	0, 391
	LDI	#2,R13
	LDUB	@(R5,R13),R7
	AND	R2,R7
	LDUB	@(R5,R13),R0
	ASR	#4,R0
	MUL	R1,R0
	MOV	MDL,R0
	ADDN	R0,R7
	STB	R7,@(FP,-1)	; _Bsecond
	._LINE	0, 393
	LDUB	@(FP,-6),R1	; _Fhour
	LDUB	@(FP,-3),R0	; _Bhour
	CMP	R0,R1
	BEQ32	L_154,R12
L_153:				// Pred: L_152
	._LINE	0, 394
	LDUB	@(FP,-3),R4	; _Bhour
	LDUB	@(FP,-6),R0	; _Fhour
	SUBN	R0,R4
	EXTSB	R4
	BRA32	L_725,R12
L_154:				// Pred: L_152
	._LINE	0, 395
	LDUB	@(FP,-5),R0	; _Fminute
	LDUB	@(FP,-2),R1	; _Bminute
	CMP	R1,R0
	BEQ32	L_157,R12
L_156:				// Pred: L_154
	._LINE	0, 396
	LDUB	@(FP,-2),R4	; _Bminute
	LDUB	@(FP,-5),R0	; _Fminute
	SUBN	R0,R4
	EXTSB	R4
	BRA32	L_725,R12
L_157:				// Pred: L_154
	._LINE	0, 397
	LDUB	@(FP,-4),R0	; _Fsecond
	LDUB	@(FP,-1),R1	; _Bsecond
	CMP	R1,R0
	BEQ32	L_159,R12
L_158:				// Pred: L_157
	._LINE	0, 398
	LDUB	@(FP,-1),R4	; _Bsecond
	LDUB	@(FP,-4),R0	; _Fsecond
	SUBN	R0,R4
	EXTSB	R4
	BRA32	L_725,R12
L_159:				// Pred: L_157
	._LINE	0, 399
	LDI	#0,R4
L_725:				// Pred: L_159 L_158 L_156 L_153
	._LINE	0, 399
L_155:				// Pred: L_725
	._LINE	0, 399
	._CONFIG	E
	._LINE	0, 400
	LEAVE
	LD	@SP+,RP
	ADDSP	#8
	RET
	._CONFIG	E
	.global	_RtcCmp
	._SYMBOL	"RtcCmp", F, 0x80000001, E, "_RtcCmp", F
	._FPARAM	S, 2, F
	._SYMBOL	"FdTm", P, 0x1b, A, 8
	._SYMBOL	"BdTm", P, 0x1b, A, 12
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 417
_RtcCmp:
L_160:
	STM	(R4,R5)
	ST	RP,@-SP
	ENTER	#20
	STM	(R8,R9)
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 56
	._CONFIG	S, B
	._SYMBOL	"state", V, 0x80000001, A, -1
	MOV	R4,R9
	MOV	R5,R8
L_161:				// Pred: L_160
	._LINE	0, 419
	._LINE	0, 421
	MOV	FP,R4
	ADDN	#-16,R4
	LDI	#3,R1
L_733:				// Pred: L_733 L_161
	._LINE	0, 421
	ADD	#-1,R1
	MOV	R1,R13
	LDUB	@(R9,R13),R0
	STB	R0,@(R4,R13)
	BNE32	L_733,R12
L_734:				// Pred: L_733
	._LINE	0, 421
	MOV	FP,R5
	ADDN	#-13,R5
	LDI	#3,R0
L_735:				// Pred: L_735 L_734
	._LINE	0, 421
	ADD	#-1,R0
	MOV	R0,R13
	LDUB	@(R8,R13),R1
	STB	R1,@(R5,R13)
	BNE32	L_735,R12
L_736:				// Pred: L_735
	._LINE	0, 421
	CALL21	_DateCmp
	STB	R4,@(FP,-1)	; _state
	._LINE	0, 422
	LDUB	@(FP,-1),R0	; _state
	EXTSB	R0
	CMP	#0,R0
	BEQ32	L_163,R12
L_162:				// Pred: L_736
	._LINE	0, 423
	LDUB	@(FP,-1),R4	; _state
	EXTSB	R4
	BRA32	L_726,R12
L_163:				// Pred: L_736
	._LINE	0, 425
	MOV	FP,R4
	ADDN	#-10,R4
	ADDN	#3,R9
	LDI	#3,R7
L_737:				// Pred: L_737 L_163
	._LINE	0, 425
	ADD	#-1,R7
	MOV	R7,R13
	LDUB	@(R9,R13),R0
	STB	R0,@(R4,R13)
	BNE32	L_737,R12
L_738:				// Pred: L_737
	._LINE	0, 425
	MOV	FP,R5
	ADDN	#-7,R5
	ADDN	#3,R8
	LDI	#3,R6
L_739:				// Pred: L_739 L_738
	._LINE	0, 425
	ADD	#-1,R6
	MOV	R6,R13
	LDUB	@(R8,R13),R0
	STB	R0,@(R5,R13)
	BNE32	L_739,R12
L_740:				// Pred: L_739
	._LINE	0, 425
	CALL21	_TimeCmp
	STB	R4,@(FP,-1)	; _state
	._LINE	0, 426
	LDUB	@(FP,-1),R4	; _state
	EXTSB	R4
L_726:				// Pred: L_740 L_162
	._LINE	0, 426
L_164:				// Pred: L_726
	._LINE	0, 426
	._CONFIG	E
	._LINE	0, 427
	LDM	(R8,R9)
	LEAVE
	LD	@SP+,RP
	ADDSP	#8
	RET
	._CONFIG	E
	.global	_Rtc_format
	._SYMBOL	"Rtc_format", F, 0x8000000f, E, "_Rtc_format", F
	._FPARAM	S, 2, F
	._SYMBOL	"dTim", P, 0x1b, A, 8
	._SYMBOL	"s", P, 0x80000002, A, 12
	._POINTER	1
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 442
_Rtc_format:
L_165:
	STM	(R4,R5)
	ST	RP,@-SP
	ENTER	#12
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 48
	._CONFIG	S, B
	._SYMBOL	"buf", V, 0x80000002, A, -6
	._ARRAY	1, 1, 5, 0
	MOV	R4,R7
L_166:				// Pred: L_165
	._LINE	0, 444
	._LINE	0, 446
	MOV	FP,R4
	ADDN	#-6,R4
	MOV	R7,R5
	LDI	#6,R6
	CALL21	_memcpy
	._LINE	0, 447
	LD	@(FP,12),R0
	LDI	#50,R1
	STB	R1,@R0
	._LINE	0, 448
	LD	@(FP,12),R1
	LDI	#48,R0
	LDI	#1,R13
	STB	R0,@(R1,R13)
	._LINE	0, 449
	LDUB	@(FP,-6),R0
	ASR	#4,R0
	LDI	#15,R5
	AND	R5,R0
	LDI	#48,R6
	ADDN	R6,R0
	LD	@(FP,12),R1
	LDI	#2,R13
	STB	R0,@(R1,R13)
	._LINE	0, 450
	LDUB	@(FP,-6),R0
	AND	R5,R0
	ADDN	R6,R0
	LD	@(FP,12),R1
	LDI	#3,R13
	STB	R0,@(R1,R13)
	._LINE	0, 451
	LD	@(FP,12),R0
	LDI	#45,R3
	LDI	#4,R13
	STB	R3,@(R0,R13)
	._LINE	0, 452
	LDUB	@(FP,-5),R0
	ASR	#4,R0
	AND	R5,R0
	ADDN	R6,R0
	LD	@(FP,12),R1
	LDI	#5,R13
	STB	R0,@(R1,R13)
	._LINE	0, 453
	LDUB	@(FP,-5),R1
	AND	R5,R1
	ADDN	R6,R1
	LD	@(FP,12),R0
	LDI	#6,R13
	STB	R1,@(R0,R13)
	._LINE	0, 454
	LD	@(FP,12),R0
	LDI	#7,R13
	STB	R3,@(R0,R13)
	._LINE	0, 455
	LDUB	@(FP,-4),R0
	ASR	#4,R0
	AND	R5,R0
	ADDN	R6,R0
	LD	@(FP,12),R1
	LDI	#8,R13
	STB	R0,@(R1,R13)
	._LINE	0, 456
	LDUB	@(FP,-4),R0
	AND	R5,R0
	ADDN	R6,R0
	LD	@(FP,12),R1
	LDI	#9,R13
	STB	R0,@(R1,R13)
	._LINE	0, 457
	LD	@(FP,12),R0
	LDI	#32,R1
	LDI	#10,R13
	STB	R1,@(R0,R13)
	._LINE	0, 458
	LDUB	@(FP,-3),R0
	ASR	#4,R0
	AND	R5,R0
	ADDN	R6,R0
	LD	@(FP,12),R1
	LDI	#11,R13
	STB	R0,@(R1,R13)
	._LINE	0, 459
	LDUB	@(FP,-3),R0
	AND	R5,R0
	ADDN	R6,R0
	LD	@(FP,12),R1
	LDI	#12,R13
	STB	R0,@(R1,R13)
	._LINE	0, 460
	LD	@(FP,12),R0
	LDI	#58,R2
	LDI	#13,R13
	STB	R2,@(R0,R13)
	._LINE	0, 461
	LDUB	@(FP,-2),R0
	ASR	#4,R0
	AND	R5,R0
	ADDN	R6,R0
	LD	@(FP,12),R1
	LDI	#14,R13
	STB	R0,@(R1,R13)
	._LINE	0, 462
	LDUB	@(FP,-2),R0
	AND	R5,R0
	ADDN	R6,R0
	LD	@(FP,12),R1
	LDI	#15,R13
	STB	R0,@(R1,R13)
	._LINE	0, 463
	LD	@(FP,12),R0
	LDI	#16,R13
	STB	R2,@(R0,R13)
	._LINE	0, 464
	LDUB	@(FP,-1),R0
	ASR	#4,R0
	AND	R5,R0
	ADDN	R6,R0
	LD	@(FP,12),R1
	LDI	#17,R13
	STB	R0,@(R1,R13)
	._LINE	0, 465
	LDUB	@(FP,-1),R1
	AND	R5,R1
	ADDN	R6,R1
	LD	@(FP,12),R0
	LDI	#18,R13
	STB	R1,@(R0,R13)
L_167:				// Pred: L_166
	._LINE	0, 465
	._CONFIG	E
	._LINE	0, 466
	LEAVE
	LD	@SP+,RP
	ADDSP	#8
	RET
	._CONFIG	E
	.global	_isleap
	._SYMBOL	"isleap", F, 0x80000002, E, "_isleap", F
	._FPARAM	S, 1, F
	._SYMBOL	"year", P, 0x80000004, A, 10
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 469
_isleap:
L_168:
	ST	R4,@-SP
	ST	RP,@-SP
	ENTER	#4
	STM	(R8,R9)
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 40
	._CONFIG	S, B
L_169:				// Pred: L_168
	._LINE	0, 471
	LDI	#0,R8
	LDUH	@(FP,10),R1	; _year
	MOV	R1,R0
	ASR	#1,R0
	LSR	#30,R0
	ADDN	R1,R0
	LDI:8	#-4,R2
	EXTSB	R2
	AND	R2,R0
	SUB	R0,R1
	BNE32	L_171,R12
L_172:				// Pred: L_169
	._LINE	0, 471
	LDUH	@(FP,10),R9	; _year
	MOV	R9,R4
	LDI	#100,R5
	CALL21	__divi
	LDI	#100,R0
	MUL	R0,R4
	MOV	MDL,R0
	SUB	R0,R9
	BNE32	L_170,R12
L_173:				// Pred: L_172
	._LINE	0, 471
	LDUH	@(FP,10),R9	; _year
	MOV	R9,R4
	LDI	#400,R5
	CALL21	__divi
	LDI	#400,R0
	MUL	R0,R4
	MOV	MDL,R0
	SUB	R0,R9
	BNE32	L_171,R12
L_170:				// Pred: L_173 L_172
	._LINE	0, 471
	LDI	#1,R8
L_171:				// Pred: L_170 L_173 L_169
	._LINE	0, 471
	EXTUB	R8
L_174:				// Pred: L_171
	._LINE	0, 471
	MOV	R8,R4
	._CONFIG	E
	._LINE	0, 472
	LDM	(R8,R9)
	LEAVE
	LD	@SP+,RP
	ADDSP	#4
	RET
	._CONFIG	E
	.global	_CountDate
	._SYMBOL	"CountDate", F, 0x80000004, E, "_CountDate", F
	._FPARAM	S, 1, F
	._SYMBOL	"Date", P, 0x19, A, 8
	._POINTER	1
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 474
_CountDate:
L_525:
	ST	R4,@-SP
	ST	RP,@-SP
	ENTER	#24
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 64
	._CONFIG	S, B
	._SYMBOL	"day_tab", V, 0x80000002, A, -17
	._ARRAY	1, 1, 12, 0
	._SYMBOL	"i", V, 0x80000002, A, -2
	._SYMBOL	"days", V, 0x80000004, A, -4
	._SYMBOL	"month", V, 0x80000002, A, -1
L_526:				// Pred: L_525
	._LINE	0, 476
	._LINE	0, 476
	LDI:8	#-17,R0
	EXTSB	R0
	MOV	FP,R1
	ADDN	R0,R1
	LDI	#0,R0
	STB	R0,@R1	; _day_tab
	LDI	#31,R2
	LDI	#1,R13
	STB	R2,@(R1,R13)	; _day_tab
	LDI	#28,R0
	LDI	#2,R13
	STB	R0,@(R1,R13)	; _day_tab
	LDI	#3,R13
	STB	R2,@(R1,R13)	; _day_tab
	LDI	#30,R0
	LDI	#4,R13
	STB	R0,@(R1,R13)	; _day_tab
	LDI	#5,R13
	STB	R2,@(R1,R13)	; _day_tab
	LDI	#6,R13
	STB	R0,@(R1,R13)	; _day_tab
	LDI	#7,R13
	STB	R2,@(R1,R13)	; _day_tab
	LDI	#8,R13
	STB	R2,@(R1,R13)	; _day_tab
	LDI	#9,R13
	STB	R0,@(R1,R13)	; _day_tab
	LDI	#10,R13
	STB	R2,@(R1,R13)	; _day_tab
	LDI	#11,R13
	STB	R0,@(R1,R13)	; _day_tab
	LDI	#12,R13
	STB	R2,@(R1,R13)	; _day_tab
	._LINE	0, 481
	LD	@(FP,8),R0	; _Date
	LDI	#2,R13
	LDUB	@(R0,R13),R4
	LDI	#15,R2
	AND	R2,R4
	LD	@(FP,8),R0	; _Date
	LDUB	@(R0,R13),R0
	ASR	#4,R0
	LDI	#10,R1
	MUL	R1,R0
	MOV	MDL,R0
	ADDN	R0,R4
	EXTUH	R4
	STH	R4,@(FP,-4)	; _days
	._LINE	0, 482
	LD	@(FP,8),R0	; _Date
	LDI	#1,R13
	LDUB	@(R0,R13),R3
	AND	R2,R3
	LD	@(FP,8),R0	; _Date
	LDUB	@(R0,R13),R0
	ASR	#4,R0
	MUL	R1,R0
	MOV	MDL,R0
	ADDN	R0,R3
	STB	R3,@(FP,-1)	; _month
	._LINE	0, 488
	LDUH	@(FP,-4),R0	; _days
	CMP	#1,R0
	BLT32	L_528,R12
L_527:				// Pred: L_526
	._LINE	0, 488
	LDUH	@(FP,-4),R1	; _days
	LDI	#31,R0
	CMP	R0,R1
	BLE32	L_529,R12
L_528:				// Pred: L_527 L_526
	._LINE	0, 489
	LDI	#0,R4
	BRA32	L_727,R12
L_529:				// Pred: L_527
	._LINE	0, 490
	LDUB	@(FP,-1),R0	; _month
	CMP	#1,R0
	BGE32	L_533,R12
L_530:				// Pred: L_529
	._LINE	0, 490
	LDUB	@(FP,-1),R0	; _month
	CMP	#12,R0
	BLE32	L_533,R12
L_531:				// Pred: L_530
	._LINE	0, 491
	LDI	#0,R4
	BRA32	L_727,R12
L_533:				// Pred: L_530 L_529
	._LINE	0, 493
	LDI	#1,R0
	STB	R0,@(FP,-2)	; _i
	LDUB	@(FP,-2),R0	; _i
	LDUB	@(FP,-1),R1	; _month
	CMP	R1,R0
	BGE32	L_537,R12
L_534:				// Pred: L_533
	._LINE	0, 493
L_535:				// Pred: L_536 L_534
	._LINE	0, 494
	LDUB	@(FP,-2),R1	; _i
	MOV	FP,R0
	ADDN	R1,R0
	LDI:8	#-17,R13
	EXTSB	R13
	LDUB	@(R0,R13),R0	; _day_tab
	LDUH	@(FP,-4),R1	; _days
	ADDN	R0,R1
	EXTUH	R1
	STH	R1,@(FP,-4)	; _days
	LDUB	@(FP,-2),R0	; _i
	ADDN	#1,R0
	STB	R0,@(FP,-2)	; _i
L_536:				// Pred: L_535
	._LINE	0, 493
	LDUB	@(FP,-2),R0	; _i
	LDUB	@(FP,-1),R1	; _month
	CMP	R1,R0
	BLT32	L_535,R12
L_742:				// Pred: L_536
	._LINE	0, 496
L_537:				// Pred: L_742 L_533
	._LINE	0, 496
;-------volatile_access
	LDUH	@(FP,-4),R4	; _days
L_727:				// Pred: L_537 L_531 L_528
	._LINE	0, 496
L_538:				// Pred: L_727
	._LINE	0, 496
	._CONFIG	E
	._LINE	0, 497
	LEAVE
	LD	@SP+,RP
	ADDSP	#4
	RET
	._CONFIG	E
	.global	_CountSecond
	._SYMBOL	"CountSecond", F, 0x80000008, E, "_CountSecond", F
	._FPARAM	S, 1, F
	._SYMBOL	"time", P, 0x1a, A, 8
	._POINTER	1
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 499
_CountSecond:
L_188:
	ST	R4,@-SP
	ST	RP,@-SP
	ENTER	#8
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 48
	._CONFIG	S, B
	._SYMBOL	"hour", V, 0x80000002, A, -3
	._SYMBOL	"minute", V, 0x80000002, A, -2
	._SYMBOL	"second", V, 0x80000002, A, -1
L_189:				// Pred: L_188
	._LINE	0, 501
	._LINE	0, 503
	LD	@(FP,8),R0	; _time
	LDUB	@R0,R5
	LDI	#15,R1
	AND	R1,R5
	LD	@(FP,8),R0	; _time
	LDUB	@R0,R0
	ASR	#4,R0
	LDI	#10,R2
	MUL	R2,R0
	MOV	MDL,R0
	ADDN	R0,R5
	STB	R5,@(FP,-3)	; _hour
	._LINE	0, 504
	LD	@(FP,8),R0	; _time
	LDI	#1,R13
	LDUB	@(R0,R13),R4
	AND	R1,R4
	LD	@(FP,8),R0	; _time
	LDUB	@(R0,R13),R0
	ASR	#4,R0
	MUL	R2,R0
	MOV	MDL,R0
	ADDN	R0,R4
	STB	R4,@(FP,-2)	; _minute
	._LINE	0, 505
	LD	@(FP,8),R0	; _time
	LDI	#2,R13
	LDUB	@(R0,R13),R3
	AND	R1,R3
	LD	@(FP,8),R0	; _time
	LDUB	@(R0,R13),R0
	ASR	#4,R0
	MUL	R2,R0
	MOV	MDL,R0
	ADDN	R0,R3
	STB	R3,@(FP,-1)	; _second
	._LINE	0, 511
	LDUB	@(FP,-3),R1	; _hour
	LDI	#23,R0
	CMP	R0,R1
	BLE32	L_191,R12
L_190:				// Pred: L_189
	._LINE	0, 512
	LDI	#0,R4
	BRA32	L_728,R12
L_191:				// Pred: L_189
	._LINE	0, 513
	LDUB	@(FP,-2),R0	; _minute
	LDI	#59,R6
	CMP	R6,R0
	BLE32	L_194,R12
L_193:				// Pred: L_191
	._LINE	0, 514
	LDI	#0,R4
	BRA32	L_728,R12
L_194:				// Pred: L_191
	._LINE	0, 515
	LDUB	@(FP,-2),R0	; _minute
	CMP	R6,R0
	BLE32	L_196,R12
L_195:				// Pred: L_194
	._LINE	0, 516
	LDI	#0,R4
	BRA32	L_728,R12
L_196:				// Pred: L_194
	._LINE	0, 518
	LDUB	@(FP,-3),R1	; _hour
	LDI	#3600,R0
	MUL	R0,R1
	MOV	MDL,R4
	LDUB	@(FP,-2),R1	; _minute
	LDI	#60,R0
	MUL	R0,R1
	MOV	MDL,R0
	ADDN	R0,R4
	LDUB	@(FP,-1),R0	; _second
	ADDN	R0,R4
L_728:				// Pred: L_196 L_195 L_193 L_190
	._LINE	0, 518
L_192:				// Pred: L_728
	._LINE	0, 518
	._CONFIG	E
	._LINE	0, 519
	LEAVE
	LD	@SP+,RP
	ADDSP	#4
	RET
	._CONFIG	E
	.global	_GetDays
	._SYMBOL	"GetDays", F, 0x80000003, E, "_GetDays", F
	._FPARAM	S, 2, F
	._SYMBOL	"fDate", P, 0x19, A, 8
	._POINTER	1
	._SYMBOL	"bDate", P, 0x19, A, 12
	._POINTER	1
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 534
_GetDays:
L_197:
	STM	(R4,R5)
	ST	RP,@-SP
	ENTER	#16
	STM	(R8)
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 56
	._CONFIG	S, B
	._SYMBOL	"Fdate", V, 0x80000004, A, -10
	._SYMBOL	"Bdate", V, 0x80000004, A, -8
	._SYMBOL	"result", V, 0x80000003, A, -6
	._SYMBOL	"Fyear", V, 0x80000002, A, -4
	._SYMBOL	"Fmonth", V, 0x80000002, A, -3
	._SYMBOL	"Byear", V, 0x80000002, A, -2
	._SYMBOL	"Bmonth", V, 0x80000002, A, -1
L_198:				// Pred: L_197
	._LINE	0, 536
	._LINE	0, 542
	LD	@(FP,8),R0	; _fDate
	LDUB	@R0,R7
	LDI	#15,R2
	AND	R2,R7
	LD	@(FP,8),R0	; _fDate
	LDUB	@R0,R0
	ASR	#4,R0
	LDI	#10,R1
	MUL	R1,R0
	MOV	MDL,R0
	ADDN	R0,R7
	STB	R7,@(FP,-4)	; _Fyear
	._LINE	0, 543
	LD	@(FP,8),R0	; _fDate
	LDI	#1,R13
	LDUB	@(R0,R13),R5
	AND	R2,R5
	LD	@(FP,8),R0	; _fDate
	LDUB	@(R0,R13),R0
	ASR	#4,R0
	MUL	R1,R0
	MOV	MDL,R0
	ADDN	R0,R5
	STB	R5,@(FP,-3)	; _Fmonth
	._LINE	0, 546
	LDUB	@(FP,-4),R0	; _Fyear
	LDI	#99,R3
	CMP	R3,R0
	BLE32	L_200,R12
L_199:				// Pred: L_198
	._LINE	0, 547
	LDI	#0,R4
	BRA32	L_729,R12
L_200:				// Pred: L_198
	._LINE	0, 548
	LDUB	@(FP,-3),R0	; _Fmonth
	CMP	#1,R0
	BGE32	L_203,R12
L_204:				// Pred: L_200
	._LINE	0, 548
	LDUB	@(FP,-3),R0	; _Fmonth
	CMP	#12,R0
	BLE32	L_203,R12
L_202:				// Pred: L_204
	._LINE	0, 549
	LDI	#0,R4
	BRA32	L_729,R12
L_203:				// Pred: L_204 L_200
	._LINE	0, 551
	LD	@(FP,12),R0	; _bDate
	LDUB	@R0,R6
	AND	R2,R6
	LD	@(FP,12),R0	; _bDate
	LDUB	@R0,R0
	ASR	#4,R0
	MUL	R1,R0
	MOV	MDL,R0
	ADDN	R0,R6
	STB	R6,@(FP,-2)	; _Byear
	._LINE	0, 552
	LD	@(FP,12),R0	; _bDate
	LDUB	@(R0,R13),R4
	AND	R2,R4
	LD	@(FP,12),R0	; _bDate
	LDUB	@(R0,R13),R0
	ASR	#4,R0
	MUL	R1,R0
	MOV	MDL,R0
	ADDN	R0,R4
	STB	R4,@(FP,-1)	; _Bmonth
	._LINE	0, 555
	LDUB	@(FP,-2),R0	; _Byear
	CMP	R3,R0
	BLE32	L_206,R12
L_205:				// Pred: L_203
	._LINE	0, 556
	LDI	#0,R4
	BRA32	L_729,R12
L_206:				// Pred: L_203
	._LINE	0, 557
	LDUB	@(FP,-1),R0	; _Bmonth
	CMP	#1,R0
	BGE32	L_208,R12
L_209:				// Pred: L_206
	._LINE	0, 557
	LDUB	@(FP,-1),R0	; _Bmonth
	CMP	#12,R0
	BLE32	L_208,R12
L_207:				// Pred: L_209
	._LINE	0, 558
	LDI	#0,R4
	BRA32	L_729,R12
L_208:				// Pred: L_209 L_206
	._LINE	0, 560
	LD	@(FP,8),R4	; _fDate
	CALL21	_CountDate
	STH	R4,@(FP,-10)	; _Fdate
	._LINE	0, 562
	LDUB	@(FP,-4),R4	; _Fyear
	CALL21	_isleap
	CMP	#0,R4
	BEQ32	L_211,R12
L_212:				// Pred: L_208
	._LINE	0, 562
	LDUB	@(FP,-3),R0	; _Fmonth
	CMP	#3,R0
	BLT32	L_211,R12
L_210:				// Pred: L_212
	._LINE	0, 563
	LDUH	@(FP,-10),R0	; _Fdate
	ADDN	#1,R0
	EXTUH	R0
;-------volatile_access
	STH	R0,@(FP,-10)	; _Fdate
L_211:				// Pred: L_210 L_212 L_208
	._LINE	0, 565
	LD	@(FP,12),R4	; _bDate
	CALL21	_CountDate
	STH	R4,@(FP,-8)	; _Bdate
	._LINE	0, 567
	LDUB	@(FP,-2),R4	; _Byear
	CALL21	_isleap
	CMP	#0,R4
	BEQ32	L_214,R12
L_215:				// Pred: L_211
	._LINE	0, 567
	LDUB	@(FP,-1),R0	; _Bmonth
	CMP	#3,R0
	BLT32	L_214,R12
L_213:				// Pred: L_215
	._LINE	0, 568
	LDUH	@(FP,-8),R0	; _Bdate
	ADDN	#1,R0
	EXTUH	R0
;-------volatile_access
	STH	R0,@(FP,-8)	; _Bdate
L_214:				// Pred: L_213 L_215 L_211
	._LINE	0, 570
	LDUB	@(FP,-4),R0	; _Fyear
	LDUB	@(FP,-2),R1	; _Byear
	CMP	R1,R0
	BEQ32	L_217,R12
L_216:				// Pred: L_214
	._LINE	0, 571
	._LINE	0, 573
	LDUB	@(FP,-2),R1	; _Byear
	LDUB	@(FP,-4),R0	; _Fyear
	SUBN	R0,R1
	LDI	#365,R0
	MUL	R1,R0
	MOV	MDL,R8
	LDUH	@(FP,-10),R0	; _Fdate
	SUBN	R0,R8
	LDUB	@(FP,-4),R4	; _Fyear
	CALL21	_isleap
	ADDN	R4,R8
	LDUH	@(FP,-8),R0	; _Bdate
	ADDN	R0,R8
	EXTSH	R8
	STH	R8,@(FP,-6)	; _result
	._LINE	0, 574
	BRA32	L_218,R12
L_217:				// Pred: L_214
	._LINE	0, 576
	._LINE	0, 577
	LDUH	@(FP,-8),R0	; _Bdate
	LDUH	@(FP,-10),R1	; _Fdate
	SUBN	R1,R0
	EXTSH	R0
	STH	R0,@(FP,-6)	; _result
	._LINE	0, 578
L_218:				// Pred: L_217 L_216
	._LINE	0, 579
	LDUH	@(FP,-6),R0	; _result
	EXTSH	R0
	CMP	#0,R0
	BLT32	L_220,R12
L_219:				// Pred: L_218
	._LINE	0, 580
	LDUH	@(FP,-6),R4	; _result
	EXTSH	R4
	BRA32	L_729,R12
L_220:				// Pred: L_218
	._LINE	0, 582
	LDUH	@(FP,-6),R0	; _result
	EXTSH	R0
	LDI	#0,R4
	SUBN	R0,R4
	EXTSH	R4
L_729:				// Pred: L_220 L_219 L_207 L_205
				//	 L_202 L_199
	._LINE	0, 582
L_201:				// Pred: L_729
	._LINE	0, 582
	._CONFIG	E
	._LINE	0, 583
	LDM	(R8)
	LEAVE
	LD	@SP+,RP
	ADDSP	#8
	RET
	._CONFIG	E
	.global	_Seconds2Time
	._SYMBOL	"Seconds2Time", F, 0x8000000f, E, "_Seconds2Time", F
	._FPARAM	S, 2, F
	._SYMBOL	"iSeconds", P, 0x80000008, A, 8
	._SYMBOL	"pTime", P, 0x1b, A, 12
	._POINTER	1
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 598
_Seconds2Time:
L_541:
	STM	(R4,R5)
	ST	RP,@-SP
	ENTER	#16
	STM	(R8,R9,R10,R11)
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 56
	._CONFIG	S, B
	._SYMBOL	"j", V, 0x80000004, A, -4
	._SYMBOL	"iDay", V, 0x80000004, A, -2
	._SYMBOL	"lDay", V, 0x80000008, A, -12
	._SYMBOL	"year", V, 0x80000008, A, -8
L_542:				// Pred: L_541
	._LINE	0, 600
	._LINE	0, 601
	LD	@(FP,8),R4	; _iSeconds
	LDI	#86400,R5
	CALL21	__udivi
	ST	R4,@(FP,-12)	; _lDay
	._LINE	0, 602
	LDI	#1970,R0
	ST	R0,@(FP,-8)	; _year
	._LINE	0, 604
L_543:				// Pred: L_542
	._LINE	0, 604
	LD	@(FP,-12),R0	; _lDay
	LDI	#365,R10
	CMP	R10,R0
	BLS32	L_552,R12
L_544:				// Pred: L_543
	._LINE	0, 604
L_545:				// Pred: L_551 L_544
	._LINE	0, 604
	._LINE	0, 605
	LD	@(FP,-8),R3	; _year
	LDI	#3,R0
	AND	R0,R3
	BNE32	L_547,R12
L_546:				// Pred: L_545
	._LINE	0, 605
	LD	@(FP,-8),R4	; _year
	LDI	#100,R5
	CALL21	__umodi
	CMP	#0,R4
	BNE32	L_548,R12
L_547:				// Pred: L_546 L_545
	._LINE	0, 605
	LD	@(FP,-8),R4	; _year
	LDI	#400,R5
	CALL21	__umodi
	CMP	#0,R4
	BNE32	L_549,R12
L_548:				// Pred: L_547 L_546
	._LINE	0, 605
	._LINE	0, 606
	LD	@(FP,-12),R1	; _lDay
	LDI	#366,R0
	SUBN	R0,R1
	ST	R1,@(FP,-12)	; _lDay
	._LINE	0, 607
	BRA32	L_550,R12
L_549:				// Pred: L_547
	._LINE	0, 607
	._LINE	0, 608
	LD	@(FP,-12),R1	; _lDay
	LDI	#365,R0
	SUBN	R0,R1
	ST	R1,@(FP,-12)	; _lDay
	._LINE	0, 609
L_550:				// Pred: L_549 L_548
	._LINE	0, 610
	LD	@(FP,-8),R0	; _year
	ADDN	#1,R0
	ST	R0,@(FP,-8)	; _year
	._LINE	0, 611
L_551:				// Pred: L_550
	._LINE	0, 604
	LD	@(FP,-12),R0	; _lDay
	LDI	#365,R1
	CMP	R1,R0
	BHI32	L_545,R12
L_552:				// Pred: L_551 L_543
	._LINE	0, 613
	LD	@(FP,-12),R0	; _lDay
	CMP	R10,R0
	BNE32	L_559,R12
L_553:				// Pred: L_552
	._LINE	0, 613
	LDI	#0,R9
	LD	@(FP,-8),R1	; _year
	LDI	#3,R0
	AND	R0,R1
	BNE32	L_555,R12
L_554:				// Pred: L_553
	._LINE	0, 613
	LD	@(FP,-8),R4	; _year
	LDI	#100,R5
	CALL21	__umodi
	CMP	#0,R4
	BNE32	L_556,R12
L_555:				// Pred: L_554 L_553
	._LINE	0, 613
	LD	@(FP,-8),R4	; _year
	LDI	#400,R5
	CALL21	__umodi
	CMP	#0,R4
	BNE32	L_557,R12
L_556:				// Pred: L_555 L_554
	._LINE	0, 613
	LDI	#1,R9
L_557:				// Pred: L_556 L_555
	._LINE	0, 613
	CMP	#0,R9
	BNE32	L_559,R12
L_558:				// Pred: L_557
	._LINE	0, 613
	._LINE	0, 614
	LD	@(FP,-12),R0	; _lDay
	SUBN	R10,R0
	ST	R0,@(FP,-12)	; _lDay
	._LINE	0, 615
	LD	@(FP,-8),R0	; _year
	ADDN	#1,R0
	ST	R0,@(FP,-8)	; _year
	._LINE	0, 616
L_559:				// Pred: L_558 L_557 L_552
	._LINE	0, 618
	LD	@(FP,-8),R4	; _year
	LDI	#2000,R8
	SUBN	R8,R4
	EXTUB	R4
	LDI	#10,R5
	CALL21	__divi
	MOV	R4,R11
	LSL	#4,R11
	LD	@(FP,-8),R9	; _year
	SUBN	R8,R9
	EXTUB	R9
	MOV	R9,R4
	LDI	#10,R5
	CALL21	__divi
	LDI	#10,R10
	MUL	R10,R4
	MOV	MDL,R0
	SUBN	R0,R9
	ADDN	R9,R11
	LD	@(FP,12),R0	; _pTime
	STB	R11,@R0
	._LINE	0, 620
L_560:				// Pred: L_559
	._LINE	0, 620
	LDI	#0,R0
	STH	R0,@(FP,-4)	; _j
	LDUH	@(FP,-4),R0	; _j
	CMP	#12,R0
	BGE32	L_572,R12
L_561:				// Pred: L_560
	._LINE	0, 620
	LDI:32	#_uDaysPerMonth,R8
L_562:				// Pred: L_570 L_561
	._LINE	0, 620
	._LINE	0, 621
	LDUH	@(FP,-4),R0	; _j
	CMP	#1,R0
	BNE32	L_567,R12
L_563:				// Pred: L_562
	._LINE	0, 621
	LD	@(FP,-8),R2	; _year
	LDI	#3,R0
	AND	R0,R2
	BNE32	L_565,R12
L_564:				// Pred: L_563
	._LINE	0, 621
	LD	@(FP,-8),R4	; _year
	LDI	#100,R5
	CALL21	__umodi
	CMP	#0,R4
	BNE32	L_566,R12
L_565:				// Pred: L_564 L_563
	._LINE	0, 621
	LD	@(FP,-8),R4	; _year
	LDI	#400,R5
	CALL21	__umodi
	CMP	#0,R4
	BNE32	L_567,R12
L_566:				// Pred: L_565 L_564
	._LINE	0, 621
	._LINE	0, 622
	LDI	#29,R0
	STH	R0,@(FP,-2)	; _iDay
	._LINE	0, 623
	BRA32	L_568,R12
L_567:				// Pred: L_565 L_562
	._LINE	0, 623
	._LINE	0, 624
	LDUH	@(FP,-4),R13	; _j
	LDUB	@(R8,R13),R0	; _uDaysPerMonth
	STH	R0,@(FP,-2)	; _iDay
	._LINE	0, 625
L_568:				// Pred: L_567 L_566
	._LINE	0, 627
	LDUH	@(FP,-2),R0	; _iDay
	LD	@(FP,-12),R1	; _lDay
	CMP	R0,R1
	BC32	L_572,R12
L_569:				// Pred: L_568
	._LINE	0, 627
	._LINE	0, 628
	LDUH	@(FP,-2),R0	; _iDay
	LD	@(FP,-12),R1	; _lDay
	SUBN	R0,R1
	ST	R1,@(FP,-12)	; _lDay
	._LINE	0, 629
	._LINE	0, 632
	LDUH	@(FP,-4),R0	; _j
	ADDN	#1,R0
	STH	R0,@(FP,-4)	; _j
L_570:				// Pred: L_569
	._LINE	0, 620
	LDUH	@(FP,-4),R0	; _j
	CMP	#12,R0
	BLT32	L_562,R12
L_571:				// Pred: L_570
	._LINE	0, 633
L_572:				// Pred: L_571 L_568 L_560
	._LINE	0, 633
	LDUH	@(FP,-4),R4	; _j
	ADDN	#1,R4
	EXTUB	R4
	LDI	#10,R5
	CALL21	__divi
	MOV	R4,R8
	LSL	#4,R8
	LDUH	@(FP,-4),R9	; _j
	ADDN	#1,R9
	EXTUB	R9
	MOV	R9,R4
	LDI	#10,R5
	CALL21	__divi
	MUL	R10,R4
	MOV	MDL,R0
	SUBN	R0,R9
	ADDN	R9,R8
	LD	@(FP,12),R0	; _pTime
	LDI	#1,R13
	STB	R8,@(R0,R13)
	._LINE	0, 634
	LD	@(FP,-12),R4	; _lDay
	EXTUB	R4
	ADDN	#1,R4
	LDI	#10,R5
	CALL21	__divi
	MOV	R4,R8
	LSL	#4,R8
	LD	@(FP,-12),R9	; _lDay
	EXTUB	R9
	ADDN	#1,R9
	MOV	R9,R4
	LDI	#10,R5
	CALL21	__divi
	MUL	R10,R4
	MOV	MDL,R0
	SUBN	R0,R9
	ADDN	R9,R8
	LD	@(FP,12),R0	; _pTime
	LDI	#2,R13
	STB	R8,@(R0,R13)
	._LINE	0, 636
	LD	@(FP,8),R4	; _iSeconds
	LDI	#86400,R5
	CALL21	__umodi
	ST	R4,@(FP,8)	; _iSeconds
	._LINE	0, 637
	LD	@(FP,8),R4	; _iSeconds
	LDI	#3600,R5
	CALL21	__udivi
	EXTUB	R4
	LDI	#10,R5
	CALL21	__divi
	MOV	R4,R8
	LSL	#4,R8
	LD	@(FP,8),R4	; _iSeconds
	LDI	#3600,R5
	CALL21	__udivi
	EXTUB	R4
	MOV	R4,R9
	LDI	#10,R5
	CALL21	__divi
	MUL	R10,R4
	MOV	MDL,R0
	SUBN	R0,R9
	ADDN	R9,R8
	LD	@(FP,12),R0	; _pTime
	LDI	#3,R13
	STB	R8,@(R0,R13)
	._LINE	0, 638
	LD	@(FP,8),R4	; _iSeconds
	LDI	#3600,R5
	CALL21	__umodi
	LDI	#60,R5
	CALL21	__udivi
	EXTUB	R4
	LDI	#10,R5
	CALL21	__divi
	MOV	R4,R11
	LSL	#4,R11
	LD	@(FP,8),R4	; _iSeconds
	LDI	#3600,R5
	CALL21	__umodi
	LDI	#60,R5
	CALL21	__udivi
	EXTUB	R4
	MOV	R4,R8
	LDI	#10,R5
	CALL21	__divi
	MUL	R10,R4
	MOV	MDL,R0
	SUBN	R0,R8
	ADDN	R8,R11
	LD	@(FP,12),R0	; _pTime
	LDI	#4,R13
	STB	R11,@(R0,R13)
	._LINE	0, 639
	LD	@(FP,8),R4	; _iSeconds
	LDI	#60,R5
	CALL21	__umodi
	EXTUB	R4
	LDI	#10,R5
	CALL21	__divi
	MOV	R4,R9
	LSL	#4,R9
	LD	@(FP,8),R4	; _iSeconds
	LDI	#60,R5
	CALL21	__umodi
	EXTUB	R4
	MOV	R4,R8
	LDI	#10,R5
	CALL21	__divi
	MUL	R10,R4
	MOV	MDL,R0
	SUBN	R0,R8
	ADDN	R8,R9
	LD	@(FP,12),R0	; _pTime
	LDI	#5,R13
	STB	R9,@(R0,R13)
L_573:				// Pred: L_572
	._LINE	0, 639
	._CONFIG	E
	._LINE	0, 640
	LDM	(R8,R9,R10,R11)
	LEAVE
	LD	@SP+,RP
	ADDSP	#8
	RET
	._CONFIG	E
	.global	_Time2Seconds
	._SYMBOL	"Time2Seconds", F, 0x80000008, E, "_Time2Seconds", F
	._FPARAM	S, 1, F
	._SYMBOL	"pTime", P, 0x1b, A, 8
	._POINTER	1
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 647
_Time2Seconds:
L_576:
	ST	R4,@-SP
	ST	RP,@-SP
	ENTER	#40
	STM	(R8,R9,R10,R11)
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 80
	._CONFIG	S, B
	._SYMBOL	"i", V, 0x80000002, A, -1
	._SYMBOL	"seconds", V, 0x80000008, A, -36
	._SYMBOL	"year", V, 0x80000008, A, -32
	._SYMBOL	"month", V, 0x80000008, A, -28
	._SYMBOL	"day", V, 0x80000008, A, -24
	._SYMBOL	"hour", V, 0x80000008, A, -20
	._SYMBOL	"minute", V, 0x80000008, A, -16
	._SYMBOL	"second", V, 0x80000008, A, -12
	._SYMBOL	"uYear", V, 0x80000008, A, -8
L_577:				// Pred: L_576
	._LINE	0, 649
	._LINE	0, 649
	LDI	#0,R0
	STB	R0,@(FP,-1)	; _i
	._LINE	0, 650
	LDI	#0,R0
	ST	R0,@(FP,-36)	; _seconds
	._LINE	0, 651
	LD	@(FP,8),R0	; _pTime
	LDUB	@R0,R12
	LDI	#15,R2
	AND	R2,R12
	LD	@(FP,8),R0	; _pTime
	LDUB	@R0,R0
	ASR	#4,R0
	LDI	#10,R1
	MUL	R1,R0
	MOV	MDL,R0
	ADDN	R0,R12
	LDI:8	#-30,R0
	EXTSB	R0
	SUBN	R0,R12
	ST	R12,@(FP,-32)	; _year
	._LINE	0, 652
	LD	@(FP,8),R0	; _pTime
	LDI	#1,R13
	LDUB	@(R0,R13),R6
	AND	R2,R6
	LD	@(FP,8),R0	; _pTime
	LDUB	@(R0,R13),R0
	ASR	#4,R0
	MUL	R1,R0
	MOV	MDL,R0
	ADDN	R0,R6
	ADDN	#-1,R6
	ST	R6,@(FP,-28)	; _month
	._LINE	0, 653
	LD	@(FP,8),R0	; _pTime
	LDI	#2,R13
	LDUB	@(R0,R13),R5
	AND	R2,R5
	LD	@(FP,8),R0	; _pTime
	LDUB	@(R0,R13),R0
	ASR	#4,R0
	MUL	R1,R0
	MOV	MDL,R0
	ADDN	R0,R5
	ADDN	#-1,R5
	ST	R5,@(FP,-24)	; _day
	._LINE	0, 654
	LD	@(FP,8),R0	; _pTime
	LDI	#3,R13
	LDUB	@(R0,R13),R4
	AND	R2,R4
	LD	@(FP,8),R0	; _pTime
	LDUB	@(R0,R13),R0
	ASR	#4,R0
	MUL	R1,R0
	MOV	MDL,R0
	ADDN	R0,R4
	ST	R4,@(FP,-20)	; _hour
	._LINE	0, 655
	LD	@(FP,8),R0	; _pTime
	LDI	#4,R13
	LDUB	@(R0,R13),R3
	AND	R2,R3
	LD	@(FP,8),R0	; _pTime
	LDUB	@(R0,R13),R0
	ASR	#4,R0
	MUL	R1,R0
	MOV	MDL,R0
	ADDN	R0,R3
	ST	R3,@(FP,-16)	; _minute
	._LINE	0, 656
	LD	@(FP,8),R0	; _pTime
	LDI	#5,R13
	LDUB	@(R0,R13),R7
	AND	R2,R7
	LD	@(FP,8),R0	; _pTime
	LDUB	@(R0,R13),R0
	ASR	#4,R0
	MUL	R1,R0
	MOV	MDL,R0
	ADDN	R0,R7
	ST	R7,@(FP,-12)	; _second
	._LINE	0, 659
	LD	@(FP,-32),R0	; _year
	LDI	#3000,R1
	CMP	R1,R0
	BHI32	L_583,R12
L_578:				// Pred: L_577
	._LINE	0, 659
	LD	@(FP,-28),R0	; _month
	CMP	#11,R0
	BHI32	L_583,R12
L_579:				// Pred: L_578
	._LINE	0, 659
	LD	@(FP,-24),R0	; _day
	LDI	#30,R1
	CMP	R1,R0
	BHI32	L_583,R12
L_580:				// Pred: L_579
	._LINE	0, 659
	LD	@(FP,-20),R0	; _hour
	LDI	#23,R1
	CMP	R1,R0
	BHI32	L_583,R12
L_581:				// Pred: L_580
	._LINE	0, 659
	LD	@(FP,-16),R0	; _minute
	LDI	#59,R2
	CMP	R2,R0
	BHI32	L_583,R12
L_582:				// Pred: L_581
	._LINE	0, 659
	LD	@(FP,-12),R0	; _second
	CMP	R2,R0
	BLS32	L_584,R12
L_583:				// Pred: L_582 L_581 L_580 L_579
				//	 L_578 L_577
	._LINE	0, 659
	._LINE	0, 660
	LDI	#0,R4
	BRA32	L_730,R12
L_584:				// Pred: L_582
	._LINE	0, 664
	LD	@(FP,-32),R0	; _year
	LDI	#31536000,R1
	MULU	R1,R0
	MOV	MDL,R1
	LD	@(FP,-24),R0	; _day
	LDI	#86400,R9
	MULU	R9,R0
	MOV	MDL,R0
	ADDN	R0,R1
	LD	@(FP,-20),R2	; _hour
	LDI	#3600,R0
	MULU	R0,R2
	MOV	MDL,R0
	ADDN	R0,R1
	LD	@(FP,-16),R0	; _minute
	LDI	#60,R2
	MULU	R2,R0
	MOV	MDL,R0
	ADDN	R0,R1
	LD	@(FP,-12),R0	; _second
	ADDN	R0,R1
	ST	R1,@(FP,-36)	; _seconds
	._LINE	0, 666
L_585:				// Pred: L_584
	._LINE	0, 666
	LDI	#0,R0
	STB	R0,@(FP,-1)	; _i
	LDUB	@(FP,-1),R0	; _i
	LD	@(FP,-28),R1	; _month
	CMP	R1,R0
	BNC32	L_590,R12
L_586:				// Pred: L_585
	._LINE	0, 666
	LDI:32	#_uDaysPerMonth,R2
L_587:				// Pred: L_743 L_586
	._LINE	0, 666
	._LINE	0, 667
	LDUB	@(FP,-1),R13	; _i
	LDUB	@(R2,R13),R0	; _uDaysPerMonth
	LDI	#86400,R1
	MUL	R1,R0
	MOV	MDL,R0
	LD	@(FP,-36),R1	; _seconds
	ADDN	R0,R1
	ST	R1,@(FP,-36)	; _seconds
	._LINE	0, 668
	LDUB	@(FP,-1),R0	; _i
	ADDN	#1,R0
	STB	R0,@(FP,-1)	; _i
L_588:				// Pred: L_587
	._LINE	0, 666
	LDUB	@(FP,-1),R0	; _i
	LD	@(FP,-28),R1	; _month
	CMP	R1,R0
	BNC32	L_590,R12
L_743:				// Pred: L_588
	._LINE	0, 670
	BRA32	L_587,R12
L_590:				// Pred: L_588 L_585
	._LINE	0, 670
	LDI	#1970,R11
	ST	R11,@(FP,-8)	; _uYear
	LD	@(FP,-32),R0	; _year
	ADDN	R11,R0
	LD	@(FP,-8),R1	; _uYear
	CMP	R0,R1
	BNC32	L_598,R12
L_591:				// Pred: L_590
	._LINE	0, 670
L_592:				// Pred: L_597 L_591
	._LINE	0, 670
	._LINE	0, 671
	LD	@(FP,-8),R13	; _uYear
	LDI	#3,R0
	AND	R0,R13
	BNE32	L_594,R12
L_593:				// Pred: L_592
	._LINE	0, 671
	LD	@(FP,-8),R4	; _uYear
	LDI	#100,R5
	CALL21	__umodi
	CMP	#0,R4
	BNE32	L_595,R12
L_594:				// Pred: L_593 L_592
	._LINE	0, 671
	LD	@(FP,-8),R4	; _uYear
	LDI	#400,R5
	CALL21	__umodi
	CMP	#0,R4
	BNE32	L_596,R12
L_595:				// Pred: L_594 L_593
	._LINE	0, 671
	._LINE	0, 672
	LD	@(FP,-36),R1	; _seconds
	LDI	#86400,R0
	ADDN	R0,R1
	ST	R1,@(FP,-36)	; _seconds
	._LINE	0, 673
L_596:				// Pred: L_595 L_594
	._LINE	0, 674
	LD	@(FP,-8),R0	; _uYear
	ADDN	#1,R0
	ST	R0,@(FP,-8)	; _uYear
L_597:				// Pred: L_596
	._LINE	0, 670
	LD	@(FP,-32),R1	; _year
	LDI	#1970,R0
	ADDN	R0,R1
	LD	@(FP,-8),R0	; _uYear
	CMP	R1,R0
	BC32	L_592,R12
L_598:				// Pred: L_597 L_590
	._LINE	0, 677
	LD	@(FP,-32),R1	; _year
	ADDN	R11,R1
	LDI:8	#-4,R2
	EXTSB	R2
	MOV	R1,R0
	AND	R2,R0
	SUB	R0,R1
	BNE32	L_600,R12
L_599:				// Pred: L_598
	._LINE	0, 677
	LD	@(FP,-32),R10	; _year
	ADDN	R11,R10
	MOV	R10,R4
	LDI	#100,R5
	CALL21	__udivi
	LDI	#100,R0
	MULU	R0,R4
	MOV	MDL,R0
	SUB	R0,R10
	BNE32	L_601,R12
L_600:				// Pred: L_599 L_598
	._LINE	0, 677
	LD	@(FP,-32),R8	; _year
	ADDN	R11,R8
	MOV	R8,R4
	LDI	#400,R5
	CALL21	__udivi
	LDI	#400,R0
	MULU	R0,R4
	MOV	MDL,R0
	SUB	R0,R8
	BNE32	L_603,R12
L_601:				// Pred: L_600 L_599
	._LINE	0, 677
	LD	@(FP,-28),R0	; _month
	CMP	#2,R0
	BC32	L_603,R12
L_602:				// Pred: L_601
	._LINE	0, 677
	._LINE	0, 678
	LD	@(FP,-36),R0	; _seconds
	ADDN	R9,R0
	ST	R0,@(FP,-36)	; _seconds
	._LINE	0, 679
L_603:				// Pred: L_602 L_601 L_600
	._LINE	0, 681
;-------volatile_access
	LD	@(FP,-36),R4	; _seconds
L_730:				// Pred: L_603 L_583
	._LINE	0, 681
L_604:				// Pred: L_730
	._LINE	0, 681
	._CONFIG	E
	._LINE	0, 682
	LDM	(R8,R9,R10,R11)
	LEAVE
	LD	@SP+,RP
	ADDSP	#4
	RET
	._CONFIG	E
	.global	_Date2Seconds
	._SYMBOL	"Date2Seconds", F, 0x80000008, E, "_Date2Seconds", F
	._FPARAM	S, 2, F
	._SYMBOL	"fDate", P, 0x1b, A, 8
	._POINTER	1
	._SYMBOL	"bDate", P, 0x1b, A, 12
	._POINTER	1
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 697
_Date2Seconds:
L_283:
	STM	(R4,R5)
	ST	RP,@-SP
	ENTER	#20
	STM	(R8)
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 56
	._CONFIG	S, B
	._SYMBOL	"days", V, 0x80000003, A, -2
	._SYMBOL	"Ftime", V, 0x80000008, A, -16
	._SYMBOL	"Btime", V, 0x80000008, A, -12
	._SYMBOL	"result", V, 0x80000005, A, -8
L_284:				// Pred: L_283
	._LINE	0, 700
	._LINE	0, 703
	LDI	#0,R8
	ST	R8,@(FP,-8)	; _result
	._LINE	0, 705
	LD	@(FP,8),R4	; _fDate
	LD	@(FP,12),R5	; _bDate
	CALL21	_GetDays
	STH	R4,@(FP,-2)	; _days
	._LINE	0, 706
	LD	@(FP,8),R4	; _fDate
	ADDN	#3,R4
	CALL21	_CountSecond
	ST	R4,@(FP,-16)	; _Ftime
	._LINE	0, 707
	LD	@(FP,12),R4	; _bDate
	ADDN	#3,R4
	CALL21	_CountSecond
	ST	R4,@(FP,-12)	; _Btime
	._LINE	0, 709
	LDUH	@(FP,-2),R0	; _days
	EXTSH	R0
	CMP	#0,R0
	BNE32	L_286,R12
L_285:				// Pred: L_284
	._LINE	0, 710
	LD	@(FP,-12),R1	; _Btime
	LD	@(FP,-16),R0	; _Ftime
	SUBN	R0,R1
	ST	R1,@(FP,-8)	; _result
	BRA32	L_287,R12
L_286:				// Pred: L_284
	._LINE	0, 712
	LDUH	@(FP,-2),R0	; _days
	EXTSH	R0
	LDI	#86400,R1
	MUL	R1,R0
	MOV	MDL,R0
	LD	@(FP,-16),R1	; _Ftime
	SUBN	R1,R0
	LD	@(FP,-12),R1	; _Btime
	ADDN	R1,R0
;-------volatile_access
	ST	R0,@(FP,-8)	; _result
L_287:				// Pred: L_286 L_285
	._LINE	0, 714
	LD	@(FP,-8),R0	; _result
	CMP	#0,R0
	BLT32	L_289,R12
L_288:				// Pred: L_287
	._LINE	0, 715
	LD	@(FP,-8),R8	; _result
	BRA32	L_731,R12
L_289:				// Pred: L_287
	._LINE	0, 717
	LD	@(FP,-8),R0	; _result
	SUBN	R0,R8
L_731:				// Pred: L_289 L_288
	._LINE	0, 717
L_290:				// Pred: L_731
	._LINE	0, 717
	MOV	R8,R4
	._CONFIG	E
	._LINE	0, 718
	LDM	(R8)
	LEAVE
	LD	@SP+,RP
	ADDSP	#8
	RET
	._CONFIG	E
	.global	_ClockTrans
	._SYMBOL	"ClockTrans", F, 0x8000000f, E, "_ClockTrans", F
	._FPARAM	S, 1, F
	._SYMBOL	"pTime", P, 0x1b, A, 8
	._POINTER	1
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 813
_ClockTrans:
L_293:
	ST	R4,@-SP
	ST	RP,@-SP
	ENTER	#36
	STM	(R8,R9,R10,R11)
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 72
	._CONFIG	S, B
	._SYMBOL	"dTime", V, 0x1b, A, -14
	._SYMBOL	"year", V, 0x80000002, A, -6
	._SYMBOL	"month", V, 0x80000002, A, -5
	._SYMBOL	"day", V, 0x80000002, A, -4
	._SYMBOL	"hour", V, 0x80000002, A, -3
	._SYMBOL	"minute", V, 0x80000002, A, -2
	._SYMBOL	"second", V, 0x80000002, A, -1
	._SYMBOL	"ClkMonthTbl", V, 0x80000002, A, -29
	._ARRAY	1, 1, 12, 0
L_294:				// Pred: L_293
	._LINE	0, 815
	._LINE	0, 818
	LDI:8	#-29,R0
	EXTSB	R0
	MOV	FP,R1
	ADDN	R0,R1
	LDI	#0,R0
	STB	R0,@R1	; _ClkMonthTbl
	LDI	#31,R2
	LDI	#1,R13
	STB	R2,@(R1,R13)	; _ClkMonthTbl
	LDI	#28,R0
	LDI	#2,R13
	STB	R0,@(R1,R13)	; _ClkMonthTbl
	LDI	#3,R13
	STB	R2,@(R1,R13)	; _ClkMonthTbl
	LDI	#30,R0
	LDI	#4,R13
	STB	R0,@(R1,R13)	; _ClkMonthTbl
	LDI	#5,R13
	STB	R2,@(R1,R13)	; _ClkMonthTbl
	LDI	#6,R13
	STB	R0,@(R1,R13)	; _ClkMonthTbl
	LDI	#7,R13
	STB	R2,@(R1,R13)	; _ClkMonthTbl
	LDI	#8,R13
	STB	R2,@(R1,R13)	; _ClkMonthTbl
	LDI	#9,R13
	STB	R0,@(R1,R13)	; _ClkMonthTbl
	LDI	#10,R13
	STB	R2,@(R1,R13)	; _ClkMonthTbl
	LDI	#11,R13
	STB	R0,@(R1,R13)	; _ClkMonthTbl
	LDI	#12,R13
	STB	R2,@(R1,R13)	; _ClkMonthTbl
	._LINE	0, 834
	LD	@(FP,8),R0	; _pTime
	LDUB	@R0,R1
	LDI	#15,R2
	AND	R2,R1
	LD	@(FP,8),R0	; _pTime
	LDUB	@R0,R0
	ASR	#4,R0
	LDI	#10,R10
	MUL	R10,R0
	MOV	MDL,R0
	ADDN	R0,R1
	STB	R1,@(FP,-14)	; _dTime
	STB	R1,@(FP,-6)	; _year
	._LINE	0, 835
	LD	@(FP,8),R0	; _pTime
	LDI	#1,R13
	LDUB	@(R0,R13),R1
	AND	R2,R1
	LD	@(FP,8),R0	; _pTime
	LDUB	@(R0,R13),R0
	ASR	#4,R0
	MUL	R10,R0
	MOV	MDL,R0
	ADDN	R0,R1
	STB	R1,@(FP,-13)	; _dTime
	STB	R1,@(FP,-5)	; _month
	._LINE	0, 836
	LD	@(FP,8),R0	; _pTime
	LDI	#2,R13
	LDUB	@(R0,R13),R3
	AND	R2,R3
	LD	@(FP,8),R0	; _pTime
	LDUB	@(R0,R13),R0
	ASR	#4,R0
	MUL	R10,R0
	MOV	MDL,R0
	ADDN	R0,R3
	STB	R3,@(FP,-12)	; _dTime
	STB	R3,@(FP,-4)	; _day
	._LINE	0, 837
	LD	@(FP,8),R0	; _pTime
	LDI	#3,R13
	LDUB	@(R0,R13),R1
	AND	R2,R1
	LD	@(FP,8),R0	; _pTime
	LDUB	@(R0,R13),R0
	ASR	#4,R0
	MUL	R10,R0
	MOV	MDL,R0
	ADDN	R0,R1
	STB	R1,@(FP,-11)	; _dTime
	STB	R1,@(FP,-3)	; _hour
	._LINE	0, 838
	LD	@(FP,8),R0	; _pTime
	LDI	#4,R13
	LDUB	@(R0,R13),R1
	AND	R2,R1
	LD	@(FP,8),R0	; _pTime
	LDUB	@(R0,R13),R0
	ASR	#4,R0
	MUL	R10,R0
	MOV	MDL,R0
	ADDN	R0,R1
	STB	R1,@(FP,-10)	; _dTime
	STB	R1,@(FP,-2)	; _minute
	._LINE	0, 839
	LD	@(FP,8),R0	; _pTime
	LDI	#5,R13
	LDUB	@(R0,R13),R1
	AND	R2,R1
	LD	@(FP,8),R0	; _pTime
	LDUB	@(R0,R13),R0
	ASR	#4,R0
	MUL	R10,R0
	MOV	MDL,R0
	ADDN	R0,R1
	STB	R1,@(FP,-9)	; _dTime
	._LINE	0, 841
	LDUB	@(FP,-9),R11	; _dTime
	MOV	R11,R4
	LDI	#60,R5
	CALL21	__divi
	LDI	#60,R9
	MUL	R9,R4
	MOV	MDL,R0
	SUBN	R0,R11
	STB	R11,@(FP,-1)	; _second
	._LINE	0, 842
	LDUB	@(FP,-9),R4	; _dTime
	LDI	#60,R5
	CALL21	__divi
	LDUB	@(FP,-10),R0	; _dTime
	ADDN	R4,R0
	STB	R0,@(FP,-10)	; _dTime
	._LINE	0, 844
	LDUB	@(FP,-10),R8	; _dTime
	MOV	R8,R4
	LDI	#60,R5
	CALL21	__divi
	MUL	R9,R4
	MOV	MDL,R0
	SUBN	R0,R8
	STB	R8,@(FP,-2)	; _minute
	._LINE	0, 845
	LDUB	@(FP,-10),R4	; _dTime
	LDI	#60,R5
	CALL21	__divi
	LDUB	@(FP,-11),R0	; _dTime
	ADDN	R4,R0
	STB	R0,@(FP,-11)	; _dTime
	._LINE	0, 847
	LDUB	@(FP,-11),R11	; _dTime
	MOV	R11,R4
	LDI	#24,R5
	CALL21	__divi
	LDI	#24,R0
	MUL	R0,R4
	MOV	MDL,R0
	SUBN	R0,R11
	STB	R11,@(FP,-3)	; _hour
	._LINE	0, 848
	LDUB	@(FP,-11),R4	; _dTime
	LDI	#24,R5
	CALL21	__divi
	LDUB	@(FP,-12),R0	; _dTime
	ADDN	R4,R0
	STB	R0,@(FP,-12)	; _dTime
	._LINE	0, 850
	LDUB	@(FP,-13),R0	; _dTime
	CMP	#2,R0
	BNE32	L_296,R12
L_297:				// Pred: L_294
	._LINE	0, 850
	LDUB	@(FP,-14),R4	; _dTime
	LDI	#2000,R0
	ADDN	R0,R4
	EXTUH	R4
	CALL21	_isleap
	CMP	#0,R4
	BEQ32	L_296,R12
L_295:				// Pred: L_297
	._LINE	0, 851
	._LINE	0, 852
	LDUB	@(FP,-12),R0	; _dTime
	LDI	#29,R9
	CMP	R9,R0
	BLE32	L_300,R12
L_298:				// Pred: L_295
	._LINE	0, 853
	._LINE	0, 854
	LDUB	@(FP,-12),R8	; _dTime
	MOV	R8,R4
	LDI	#29,R5
	CALL21	__divi
	MUL	R9,R4
	MOV	MDL,R0
	SUBN	R0,R8
	STB	R8,@(FP,-4)	; _day
	._LINE	0, 855
	LDUB	@(FP,-12),R4	; _dTime
	LDI	#29,R5
	CALL21	__divi
	LDUB	@(FP,-13),R0	; _dTime
	ADDN	R4,R0
	STB	R0,@(FP,-13)	; _dTime
	._LINE	0, 856
	LDUB	@(FP,-13),R0	; _dTime
	STB	R0,@(FP,-5)	; _month
	._LINE	0, 857
	._LINE	0, 859
	BRA32	L_300,R12
L_296:				// Pred: L_297 L_294
	._LINE	0, 861
	._LINE	0, 862
	LDUB	@(FP,-12),R2	; _dTime
	LDUB	@(FP,-13),R0	; _dTime
	MOV	FP,R1
	ADDN	R0,R1
	LDI:8	#-29,R13
	EXTSB	R13
	LDUB	@(R1,R13),R0	; _ClkMonthTbl
	CMP	R0,R2
	BLE32	L_300,R12
L_301:				// Pred: L_296
	._LINE	0, 863
	._LINE	0, 864
	LDUB	@(FP,-12),R4	; _dTime
	LDUB	@(FP,-13),R0	; _dTime
	MOV	FP,R1
	ADDN	R0,R1
	LDUB	@(R1,R13),R5	; _ClkMonthTbl
	CALL21	__modi
	STB	R4,@(FP,-4)	; _day
	._LINE	0, 865
	LDUB	@(FP,-12),R4	; _dTime
	LDUB	@(FP,-13),R0	; _dTime
	MOV	FP,R1
	ADDN	R0,R1
	LDI:8	#-29,R13
	EXTSB	R13
	LDUB	@(R1,R13),R5	; _ClkMonthTbl
	CALL21	__divi
	LDUB	@(FP,-13),R0	; _dTime
	ADDN	R4,R0
	STB	R0,@(FP,-13)	; _dTime
	._LINE	0, 866
	LDUB	@(FP,-13),R0	; _dTime
	STB	R0,@(FP,-5)	; _month
	._LINE	0, 867
L_300:				// Pred: L_301 L_296 L_298 L_295
	._LINE	0, 870
	LDUB	@(FP,-13),R0	; _dTime
	CMP	#12,R0
	BLE32	L_304,R12
L_303:				// Pred: L_300
	._LINE	0, 871
	._LINE	0, 872
	LDUB	@(FP,-13),R8	; _dTime
	MOV	R8,R4
	LDI	#12,R5
	CALL21	__divi
	LDI	#12,R0
	MUL	R0,R4
	MOV	MDL,R0
	SUBN	R0,R8
	STB	R8,@(FP,-5)	; _month
	._LINE	0, 873
	LDUB	@(FP,-13),R4	; _dTime
	LDI	#12,R5
	CALL21	__divi
	LDUB	@(FP,-6),R0	; _year
	ADDN	R4,R0
	STB	R0,@(FP,-6)	; _year
	._LINE	0, 874
L_304:				// Pred: L_303 L_300
	._LINE	0, 876
	LDUB	@(FP,-6),R4	; _year
	LDI	#10,R5
	CALL21	__divi
	MOV	R4,R9
	LSL	#4,R9
	LDUB	@(FP,-6),R8	; _year
	MOV	R8,R4
	LDI	#10,R5
	CALL21	__divi
	MUL	R10,R4
	MOV	MDL,R0
	SUBN	R0,R8
	ADDN	R8,R9
	LD	@(FP,8),R0	; _pTime
	STB	R9,@R0
	._LINE	0, 877
	LDUB	@(FP,-5),R4	; _month
	LDI	#10,R5
	CALL21	__divi
	MOV	R4,R8
	LSL	#4,R8
	LDUB	@(FP,-5),R9	; _month
	MOV	R9,R4
	LDI	#10,R5
	CALL21	__divi
	MUL	R10,R4
	MOV	MDL,R0
	SUBN	R0,R9
	ADDN	R9,R8
	LD	@(FP,8),R0	; _pTime
	LDI	#1,R13
	STB	R8,@(R0,R13)
	._LINE	0, 878
	LDUB	@(FP,-4),R4	; _day
	LDI	#10,R5
	CALL21	__divi
	MOV	R4,R8
	LSL	#4,R8
	LDUB	@(FP,-4),R9	; _day
	MOV	R9,R4
	LDI	#10,R5
	CALL21	__divi
	MUL	R10,R4
	MOV	MDL,R0
	SUBN	R0,R9
	ADDN	R9,R8
	LD	@(FP,8),R0	; _pTime
	LDI	#2,R13
	STB	R8,@(R0,R13)
	._LINE	0, 879
	LDUB	@(FP,-3),R4	; _hour
	LDI	#10,R5
	CALL21	__divi
	MOV	R4,R8
	LSL	#4,R8
	LDUB	@(FP,-3),R9	; _hour
	MOV	R9,R4
	LDI	#10,R5
	CALL21	__divi
	MUL	R10,R4
	MOV	MDL,R0
	SUBN	R0,R9
	ADDN	R9,R8
	LD	@(FP,8),R0	; _pTime
	LDI	#3,R13
	STB	R8,@(R0,R13)
	._LINE	0, 880
	LDUB	@(FP,-2),R4	; _minute
	LDI	#10,R5
	CALL21	__divi
	MOV	R4,R11
	LSL	#4,R11
	LDUB	@(FP,-2),R8	; _minute
	MOV	R8,R4
	LDI	#10,R5
	CALL21	__divi
	MUL	R10,R4
	MOV	MDL,R0
	SUBN	R0,R8
	ADDN	R8,R11
	LD	@(FP,8),R0	; _pTime
	LDI	#4,R13
	STB	R11,@(R0,R13)
	._LINE	0, 881
	LDUB	@(FP,-1),R4	; _second
	LDI	#10,R5
	CALL21	__divi
	MOV	R4,R9
	LSL	#4,R9
	LDUB	@(FP,-1),R8	; _second
	MOV	R8,R4
	LDI	#10,R5
	CALL21	__divi
	MUL	R10,R4
	MOV	MDL,R0
	SUBN	R0,R8
	ADDN	R8,R9
	LD	@(FP,8),R0	; _pTime
	LDI	#5,R13
	STB	R9,@(R0,R13)
L_305:				// Pred: L_304
	._LINE	0, 881
	._CONFIG	E
	._LINE	0, 882
	LDM	(R8,R9,R10,R11)
	LEAVE
	LD	@SP+,RP
	ADDSP	#4
	RET
	._CONFIG	E
	.global	_BCDToStr
	._SYMBOL	"BCDToStr", F, 0x80000002, E, "_BCDToStr", F
	._FPARAM	S, 3, F
	._SYMBOL	"BCDPhone", P, 0x80000002, A, 8
	._POINTER	1
	._SYMBOL	"String", P, 0x80000002, A, 12
	._POINTER	1
	._SYMBOL	"size", P, 0x80000002, A, 19
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 894
_BCDToStr:
L_606:
	STM	(R4,R5,R6)
	ST	RP,@-SP
	ENTER	#8
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 48
	._CONFIG	S, B
	._SYMBOL	"i", V, 0x80000002, A, -2
	._SYMBOL	"base", V, 0x80000002, A, -1
L_607:				// Pred: L_606
	._LINE	0, 896
	._LINE	0, 896
	LDI	#0,R4
	STB	R4,@(FP,-2)	; _i
	._LINE	0, 897
	STB	R4,@(FP,-1)	; _base
	._LINE	0, 899
L_608:				// Pred: L_607
	._LINE	0, 899
	STB	R4,@(FP,-1)	; _base
	STB	R4,@(FP,-2)	; _i
	LDUB	@(FP,-1),R1	; _base
	LDUB	@(FP,19),R0	; _size
	CMP	R0,R1
	BGE32	L_612,R12
L_609:				// Pred: L_608
	._LINE	0, 899
L_610:				// Pred: L_611 L_609
	._LINE	0, 899
	._LINE	0, 900
	LDUB	@(FP,-2),R5	; _i
	LDUB	@(FP,-1),R13	; _base
	LD	@(FP,8),R0	; _BCDPhone
	LDUB	@(R0,R13),R0
	ASR	#4,R0
	LDI	#15,R3
	AND	R3,R0
	LDI	#48,R2
	ADDN	R2,R0
	LD	@(FP,12),R1	; _String
	MOV	R5,R13
	STB	R0,@(R1,R13)
	._LINE	0, 901
	LDUB	@(FP,-2),R6	; _i
	ADDN	#1,R6
	LDUB	@(FP,-1),R13	; _base
	LD	@(FP,8),R0	; _BCDPhone
	LDUB	@(R0,R13),R0
	AND	R3,R0
	ADDN	R2,R0
	LD	@(FP,12),R1	; _String
	MOV	R6,R13
	STB	R0,@(R1,R13)
	._LINE	0, 902
	LDUB	@(FP,-1),R0	; _base
	ADDN	#1,R0
	STB	R0,@(FP,-1)	; _base
	LDUB	@(FP,-2),R0	; _i
	ADDN	#2,R0
	STB	R0,@(FP,-2)	; _i
L_611:				// Pred: L_610
	._LINE	0, 899
	LDUB	@(FP,-1),R0	; _base
	LDUB	@(FP,19),R1	; _size
	CMP	R1,R0
	BLT32	L_610,R12
L_744:				// Pred: L_611
	._LINE	0, 904
L_612:				// Pred: L_744 L_608
	._LINE	0, 904
	LDUB	@(FP,19),R4	; _size
	LSL	#1,R4
	EXTUB	R4
L_613:				// Pred: L_612
	._LINE	0, 904
	._CONFIG	E
	._LINE	0, 905
	LEAVE
	LD	@SP+,RP
	ADDSP	#12
	RET
	._CONFIG	E
	.global	_Bcd2Dec
	._SYMBOL	"Bcd2Dec", F, 0x80000008, E, "_Bcd2Dec", F
	._FPARAM	S, 1, F
	._SYMBOL	"BcdVal", P, 0x80000008, A, 8
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 908
_Bcd2Dec:
L_615:
	ST	R4,@-SP
	ST	RP,@-SP
	ENTER	#12
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 48
	._CONFIG	S, B
	._SYMBOL	"i", V, 0x80000002, A, -1
	._SYMBOL	"result", V, 0x80000008, A, -8
L_616:				// Pred: L_615
	._LINE	0, 910
	._LINE	0, 911
	LDI	#0,R0
	ST	R0,@(FP,-8)	; _result
	._LINE	0, 913
L_617:				// Pred: L_616
	._LINE	0, 913
	LDI	#8,R0
	STB	R0,@(FP,-1)	; _i
	LDUB	@(FP,-1),R0	; _i
	CMP	#0,R0
	BLE32	L_621,R12
L_618:				// Pred: L_617
	._LINE	0, 913
L_619:				// Pred: L_620 L_618
	._LINE	0, 914
	._LINE	0, 915
	LD	@(FP,-8),R0	; _result
	LDI	#10,R1
	MULU	R1,R0
	MOV	MDL,R0
	ST	R0,@(FP,-8)	; _result
	._LINE	0, 916
	LDUB	@(FP,-1),R0	; _i
	ADDN	#-1,R0
	LSL	#2,R0
	LD	@(FP,8),R1	; _BcdVal
	LSR	R0,R1
	LDI	#15,R0
	AND	R0,R1
	LD	@(FP,-8),R0	; _result
	ADDN	R1,R0
	ST	R0,@(FP,-8)	; _result
	._LINE	0, 917
	LDUB	@(FP,-1),R0	; _i
	ADDN	#-1,R0
	STB	R0,@(FP,-1)	; _i
L_620:				// Pred: L_619
	._LINE	0, 913
	LDUB	@(FP,-1),R0	; _i
	CMP	#0,R0
	BGT32	L_619,R12
L_745:				// Pred: L_620
	._LINE	0, 918
L_621:				// Pred: L_745 L_617
	._LINE	0, 918
	LD	@(FP,-8),R4	; _result
L_622:				// Pred: L_621
	._LINE	0, 918
	._CONFIG	E
	._LINE	0, 919
	LEAVE
	LD	@SP+,RP
	ADDSP	#4
	RET
	._CONFIG	E
	.global	_Dec2Bcd
	._SYMBOL	"Dec2Bcd", F, 0x80000008, E, "_Dec2Bcd", F
	._FPARAM	S, 1, F
	._SYMBOL	"DecVal", P, 0x80000008, A, 8
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 922
_Dec2Bcd:
L_624:
	ST	R4,@-SP
	ST	RP,@-SP
	ENTER	#16
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 56
	._CONFIG	S, B
	._SYMBOL	"i", V, 0x80000002, A, -1
	._SYMBOL	"val", V, 0x80000008, A, -12
	._SYMBOL	"result", V, 0x80000008, A, -8
L_625:				// Pred: L_624
	._LINE	0, 924
	._LINE	0, 925
	LD	@(FP,8),R0	; _DecVal
	ST	R0,@(FP,-12)	; _val
	._LINE	0, 926
	LDI	#0,R0
	ST	R0,@(FP,-8)	; _result
	._LINE	0, 928
L_626:				// Pred: L_625
	._LINE	0, 928
	LDI	#0,R0
	STB	R0,@(FP,-1)	; _i
	LDUB	@(FP,-1),R0	; _i
	CMP	#8,R0
	BGE32	L_630,R12
L_627:				// Pred: L_626
	._LINE	0, 928
L_628:				// Pred: L_629 L_627
	._LINE	0, 929
	._LINE	0, 930
	LD	@(FP,-12),R4	; _val
	LDI	#10,R5
	CALL21	__umodi
	LDUB	@(FP,-1),R0	; _i
	LSL	#2,R0
	LSL	R0,R4
	LD	@(FP,-8),R0	; _result
	ADDN	R4,R0
	ST	R0,@(FP,-8)	; _result
	._LINE	0, 931
	LD	@(FP,-12),R4	; _val
	LDI	#10,R5
	CALL21	__udivi
	ST	R4,@(FP,-12)	; _val
	._LINE	0, 932
	LDUB	@(FP,-1),R0	; _i
	ADDN	#1,R0
	STB	R0,@(FP,-1)	; _i
L_629:				// Pred: L_628
	._LINE	0, 928
	LDUB	@(FP,-1),R0	; _i
	CMP	#8,R0
	BLT32	L_628,R12
L_630:				// Pred: L_629 L_626
	._LINE	0, 933
	LD	@(FP,-8),R4	; _result
L_631:				// Pred: L_630
	._LINE	0, 933
	._CONFIG	E
	._LINE	0, 934
	LEAVE
	LD	@SP+,RP
	ADDSP	#4
	RET
	._CONFIG	E
	.global	_Dec2Array
	._SYMBOL	"Dec2Array", F, 0x8000000f, E, "_Dec2Array", F
	._FPARAM	S, 3, F
	._SYMBOL	"dec", P, 0x80000008, A, 8
	._SYMBOL	"pBuf", P, 0x80000002, A, 12
	._POINTER	1
	._SYMBOL	"size", P, 0x80000002, A, 19
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 950
_Dec2Array:
L_633:
	STM	(R4,R5,R6)
	ST	RP,@-SP
	ENTER	#8
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 48
	._CONFIG	S, B
	._SYMBOL	"i", V, 0x80000002, A, -1
L_634:				// Pred: L_633
	._LINE	0, 954
	LDI	#0,R0
	STB	R0,@(FP,-1)	; _i
	LDUB	@(FP,-1),R0	; _i
	LDUB	@(FP,19),R1	; _size
	CMP	R1,R0
	BGE32	L_639,R12
L_635:				// Pred: L_634
	._LINE	0, 954
L_636:				// Pred: L_746 L_635
	._LINE	0, 955
	._LINE	0, 956
	LDUB	@(FP,-1),R13	; _i
	LDUB	@(FP,19),R1	; _size
	LDUB	@(FP,-1),R0	; _i
	SUBN	R0,R1
	ADDN	#-1,R1
	LSL	#3,R1
	LD	@(FP,8),R0	; _dec
	LSR	R1,R0
	LD	@(FP,12),R1	; _pBuf
	STB	R0,@(R1,R13)
	._LINE	0, 957
	LDUB	@(FP,-1),R0	; _i
	ADDN	#1,R0
	STB	R0,@(FP,-1)	; _i
L_637:				// Pred: L_636
	._LINE	0, 954
	LDUB	@(FP,-1),R1	; _i
	LDUB	@(FP,19),R0	; _size
	CMP	R0,R1
	BGE32	L_639,R12
L_746:				// Pred: L_637
	._LINE	0, 957
	BRA32	L_636,R12
L_639:				// Pred: L_637 L_634
	._LINE	0, 957
	._CONFIG	E
	._LINE	0, 958
	LEAVE
	LD	@SP+,RP
	ADDSP	#12
	RET
	._CONFIG	E
	.global	_Array2Dec
	._SYMBOL	"Array2Dec", F, 0x8000000f, E, "_Array2Dec", F
	._FPARAM	S, 3, F
	._SYMBOL	"dec", P, 0x80000008, A, 8
	._POINTER	1
	._SYMBOL	"pBuf", P, 0x80000002, A, 12
	._POINTER	1
	._SYMBOL	"size", P, 0x80000002, A, 19
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 974
_Array2Dec:
L_641:
	STM	(R4,R5,R6)
	ST	RP,@-SP
	ENTER	#12
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 48
	._CONFIG	S, B
	._SYMBOL	"i", V, 0x80000002, A, -1
	._SYMBOL	"temp", V, 0x80000008, A, -8
L_642:				// Pred: L_641
	._LINE	0, 976
	._LINE	0, 976
	LDI	#0,R3
	STB	R3,@(FP,-1)	; _i
	._LINE	0, 977
	LDI	#0,R0
	ST	R0,@(FP,-8)	; _temp
	._LINE	0, 979
L_643:				// Pred: L_642
	._LINE	0, 979
	STB	R3,@(FP,-1)	; _i
	LDUB	@(FP,-1),R0	; _i
	LDUB	@(FP,19),R1	; _size
	CMP	R1,R0
	BGE32	L_647,R12
L_644:				// Pred: L_643
	._LINE	0, 979
L_645:				// Pred: L_646 L_644
	._LINE	0, 980
	._LINE	0, 981
	LDUB	@(FP,-1),R13	; _i
	LD	@(FP,12),R0	; _pBuf
	LDUB	@(R0,R13),R2
	LDUB	@(FP,19),R1	; _size
	LDUB	@(FP,-1),R0	; _i
	SUBN	R0,R1
	ADDN	#-1,R1
	LSL	#3,R1
	LSL	R1,R2
	LD	@(FP,-8),R0	; _temp
	ADDN	R2,R0
	ST	R0,@(FP,-8)	; _temp
	._LINE	0, 982
	LDUB	@(FP,-1),R0	; _i
	ADDN	#1,R0
	STB	R0,@(FP,-1)	; _i
L_646:				// Pred: L_645
	._LINE	0, 979
	LDUB	@(FP,-1),R1	; _i
	LDUB	@(FP,19),R0	; _size
	CMP	R0,R1
	BLT32	L_645,R12
L_747:				// Pred: L_646
	._LINE	0, 983
L_647:				// Pred: L_747 L_643
	._LINE	0, 983
	LD	@(FP,-8),R1	; _temp
	LD	@(FP,8),R0	; _dec
	ST	R1,@R0
L_648:				// Pred: L_647
	._LINE	0, 983
	._CONFIG	E
	._LINE	0, 984
	LEAVE
	LD	@SP+,RP
	ADDSP	#12
	RET
	._CONFIG	E
	.global	_CheckSum
	._SYMBOL	"CheckSum", F, 0x80000004, E, "_CheckSum", F
	._FPARAM	S, 2, F
	._SYMBOL	"dp", P, 0x80000002, A, 8
	._POINTER	1
	._SYMBOL	"size", P, 0x80000003, A, 14
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 1005
_CheckSum:
L_650:
	STM	(R4,R5)
	ST	RP,@-SP
	ENTER	#12
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 48
	._CONFIG	S, B
	._SYMBOL	"cksum", V, 0x80000008, A, -8
	._SYMBOL	"len", V, 0x80000003, A, -4
	._SYMBOL	"u16Tmp", V, 0x80000004, A, -2
L_651:				// Pred: L_650
	._LINE	0, 1007
	._LINE	0, 1007
	LDI	#0,R0
	ST	R0,@(FP,-8)	; _cksum
	._LINE	0, 1008
	LDUH	@(FP,14),R0	; _size
	EXTSH	R0
	STH	R0,@(FP,-4)	; _len
	._LINE	0, 1011
L_652:				// Pred: L_651
	._LINE	0, 1011
	LDUH	@(FP,-4),R0	; _len
	EXTSH	R0
	CMP	#1,R0
	BLE32	L_656,R12
L_653:				// Pred: L_652
	._LINE	0, 1011
L_654:				// Pred: L_655 L_653
	._LINE	0, 1012
	._LINE	0, 1013
	LD	@(FP,8),R0	; _dp
	LDUB	@R0,R0
	LSL	#8,R0
	EXTUH	R0
	STH	R0,@(FP,-2)	; _u16Tmp
	._LINE	0, 1014
	LD	@(FP,8),R0	; _dp
	LDI	#1,R13
	LDUB	@(R0,R13),R0
	LDUH	@(FP,-2),R1	; _u16Tmp
	ADDN	R0,R1
	EXTUH	R1
	STH	R1,@(FP,-2)	; _u16Tmp
	._LINE	0, 1015
	LDUH	@(FP,-2),R0	; _u16Tmp
	LD	@(FP,-8),R1	; _cksum
	ADDN	R0,R1
	ST	R1,@(FP,-8)	; _cksum
	._LINE	0, 1016
	LD	@(FP,8),R0	; _dp
	ADDN	#2,R0
	ST	R0,@(FP,8)	; _dp
	._LINE	0, 1017
	LDUH	@(FP,-4),R0	; _len
	EXTSH	R0
	ADDN	#-2,R0
	EXTSH	R0
	STH	R0,@(FP,-4)	; _len
	._LINE	0, 1018
L_655:				// Pred: L_654
	._LINE	0, 1011
	LDUH	@(FP,-4),R0	; _len
	EXTSH	R0
	CMP	#1,R0
	BGT32	L_654,R12
L_748:				// Pred: L_655
	._LINE	0, 1020
L_656:				// Pred: L_748 L_652
	._LINE	0, 1020
	LDUH	@(FP,-4),R0	; _len
	EXTSH	R0
	CMP	#1,R0
	BNE32	L_658,R12
L_657:				// Pred: L_656
	._LINE	0, 1021
	LD	@(FP,8),R0	; _dp
	LDUB	@R0,R0
	LD	@(FP,-8),R1	; _cksum
	ADDN	R0,R1
;-------volatile_access
	ST	R1,@(FP,-8)	; _cksum
L_658:				// Pred: L_657 L_656
	._LINE	0, 1023
	LD	@(FP,-8),R2	; _cksum
	LSR	#16,R2
	LD	@(FP,-8),R0	; _cksum
	LDI	#65535,R1
	AND	R1,R0
	ADDN	R0,R2
	ST	R2,@(FP,-8)	; _cksum
	._LINE	0, 1024
	LD	@(FP,-8),R0	; _cksum
	LSR	#16,R0
	LD	@(FP,-8),R1	; _cksum
	ADDN	R0,R1
	ST	R1,@(FP,-8)	; _cksum
	._LINE	0, 1026
	LD	@(FP,-8),R4	; _cksum
	LDI:8	#-1,R0
	EXTSB	R0
	EOR	R0,R4
	EXTUH	R4
L_659:				// Pred: L_658
	._LINE	0, 1026
	._CONFIG	E
	._LINE	0, 1027
	LEAVE
	LD	@SP+,RP
	ADDSP	#8
	RET
	._CONFIG	E
	.global	_SUM16bit_Check
	._SYMBOL	"SUM16bit_Check", F, 0x80000004, E, "_SUM16bit_Check", F
	._FPARAM	S, 2, F
	._SYMBOL	"pBuf", P, 0x80000002, A, 8
	._POINTER	1
	._SYMBOL	"DataLen", P, 0x80000004, A, 14
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 1046
_SUM16bit_Check:
L_661:
	STM	(R4,R5)
	ST	RP,@-SP
	ENTER	#8
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 48
	._CONFIG	S, B
	._SYMBOL	"tempSum", V, 0x80000004, A, -4
	._SYMBOL	"i", V, 0x80000004, A, -2
L_662:				// Pred: L_661
	._LINE	0, 1048
	._LINE	0, 1048
	LD	@(FP,8),R0	; _pBuf
	LDUB	@R0,R0
	STH	R0,@(FP,-4)	; _tempSum
	._LINE	0, 1051
L_663:				// Pred: L_662
	._LINE	0, 1051
	LDI	#1,R0
	STH	R0,@(FP,-2)	; _i
	LDUH	@(FP,-2),R0	; _i
	LDUH	@(FP,14),R1	; _DataLen
	CMP	R1,R0
	BGE32	L_667,R12
L_664:				// Pred: L_663
	._LINE	0, 1051
L_665:				// Pred: L_666 L_664
	._LINE	0, 1052
	._LINE	0, 1053
	LDUH	@(FP,-2),R13	; _i
	LD	@(FP,8),R0	; _pBuf
	LDUB	@(R0,R13),R0
	LDUH	@(FP,-4),R1	; _tempSum
	ADDN	R0,R1
	EXTUH	R1
	STH	R1,@(FP,-4)	; _tempSum
	._LINE	0, 1054
	LDUH	@(FP,-2),R0	; _i
	ADDN	#1,R0
	STH	R0,@(FP,-2)	; _i
L_666:				// Pred: L_665
	._LINE	0, 1051
	LDUH	@(FP,-2),R1	; _i
	LDUH	@(FP,14),R0	; _DataLen
	CMP	R0,R1
	BLT32	L_665,R12
L_749:				// Pred: L_666
	._LINE	0, 1056
L_667:				// Pred: L_749 L_663
	._LINE	0, 1056
	LDUH	@(FP,-4),R4	; _tempSum
L_668:				// Pred: L_667
	._LINE	0, 1056
	._CONFIG	E
	._LINE	0, 1057
	LEAVE
	LD	@SP+,RP
	ADDSP	#8
	RET
	._CONFIG	E
	.global	_XOR_Check
	._SYMBOL	"XOR_Check", F, 0x80000002, E, "_XOR_Check", F
	._FPARAM	S, 2, F
	._SYMBOL	"pBuf", P, 0x80000002, A, 8
	._POINTER	1
	._SYMBOL	"DataLen", P, 0x80000004, A, 14
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 1070
_XOR_Check:
L_670:
	STM	(R4,R5)
	ST	RP,@-SP
	ENTER	#8
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 48
	._CONFIG	S, B
	._SYMBOL	"tempXor", V, 0x80000002, A, -1
	._SYMBOL	"i", V, 0x80000004, A, -4
L_671:				// Pred: L_670
	._LINE	0, 1072
	._LINE	0, 1072
	LD	@(FP,8),R0	; _pBuf
	LDUB	@R0,R0
	STB	R0,@(FP,-1)	; _tempXor
	._LINE	0, 1075
L_672:				// Pred: L_671
	._LINE	0, 1075
	LDI	#1,R0
	STH	R0,@(FP,-4)	; _i
	LDUH	@(FP,-4),R0	; _i
	LDUH	@(FP,14),R1	; _DataLen
	CMP	R1,R0
	BGE32	L_676,R12
L_673:				// Pred: L_672
	._LINE	0, 1075
L_674:				// Pred: L_675 L_673
	._LINE	0, 1076
	._LINE	0, 1077
	LDUH	@(FP,-4),R13	; _i
	LD	@(FP,8),R0	; _pBuf
	LDUB	@(R0,R13),R0
	LDUB	@(FP,-1),R1	; _tempXor
	EOR	R0,R1
	STB	R1,@(FP,-1)	; _tempXor
	._LINE	0, 1078
	LDUH	@(FP,-4),R0	; _i
	ADDN	#1,R0
	STH	R0,@(FP,-4)	; _i
L_675:				// Pred: L_674
	._LINE	0, 1075
	LDUH	@(FP,-4),R1	; _i
	LDUH	@(FP,14),R0	; _DataLen
	CMP	R0,R1
	BLT32	L_674,R12
L_750:				// Pred: L_675
	._LINE	0, 1080
L_676:				// Pred: L_750 L_672
	._LINE	0, 1080
	LDUB	@(FP,-1),R4	; _tempXor
L_677:				// Pred: L_676
	._LINE	0, 1080
	._CONFIG	E
	._LINE	0, 1081
	LEAVE
	LD	@SP+,RP
	ADDSP	#8
	RET
	._CONFIG	E
	.global	_mystrstr
	._SYMBOL	"mystrstr", F, 0x8000000e, E, "_mystrstr", F
	._FPARAM	S, 3, F
	._SYMBOL	"s1", P, 0x8000000e, A, 8
	._POINTER	1
	._SYMBOL	"s2", P, 0x8000000e, A, 12
	._POINTER	1
	._SYMBOL	"Num", P, 0x80000004, A, 18
	._FPARAM	E
	._POINTER	1
	._CONFIG	S, F, 1
	._LINE	0, 1096
_mystrstr:
L_678:
	STM	(R4,R5,R6)
	ST	RP,@-SP
	ENTER	#8
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 48
	._CONFIG	S, B
	._SYMBOL	"i", V, 0x80000004, A, -4
	._SYMBOL	"j", V, 0x80000004, A, -2
L_679:				// Pred: L_678
	._LINE	0, 1098
	._LINE	0, 1098
	LDI	#0,R0
	STH	R0,@(FP,-4)	; _i
	._LINE	0, 1099
	STH	R0,@(FP,-2)	; _j
	._LINE	0, 1101
;-------volatile_access
	STH	R0,@(FP,-2)	; _j
L_680:				// Pred: L_687 L_679
	._LINE	0, 1101
	LDUH	@(FP,-2),R0	; _j
	LDUH	@(FP,18),R1	; _Num
	CMP	R1,R0
	BGE32	L_688,R12
L_681:				// Pred: L_680
	._LINE	0, 1102
	._LINE	0, 1103
	LDI	#0,R0
	STH	R0,@(FP,-4)	; _i
	._LINE	0, 1104
L_682:				// Pred: L_686 L_681
	._LINE	0, 1104
	._LINE	0, 1105
	._LINE	0, 1106
	LDUH	@(FP,-4),R13	; _i
	LD	@(FP,12),R0	; _s2
	LDUB	@(R0,R13),R0
	CMP	#0,R0
	BNE32	L_684,R12
L_683:				// Pred: L_682
	._LINE	0, 1107
	LD	@(FP,8),R4	; _s1
	BRA32	L_732,R12
L_684:				// Pred: L_682
	._LINE	0, 1109
	LDUH	@(FP,-4),R13	; _i
	LD	@(FP,12),R0	; _s2
	LDUB	@(R0,R13),R1
	LDUH	@(FP,-4),R13	; _i
	LD	@(FP,8),R0	; _s1
	LDUB	@(R0,R13),R0
	CMP	R0,R1
	BEQ32	L_686,R12
L_685:				// Pred: L_684
	._LINE	0, 1110
	BRA32	L_687,R12
L_686:				// Pred: L_684
	._LINE	0, 1111
	LDUH	@(FP,-4),R0	; _i
	ADDN	#1,R0
	STH	R0,@(FP,-4)	; _i
	._LINE	0, 1112
	BRA32	L_682,R12
L_687:				// Pred: L_685
	._LINE	0, 1113
	LD	@(FP,8),R0	; _s1
	ADDN	#1,R0
	ST	R0,@(FP,8)	; _s1
	._LINE	0, 1114
	LDUH	@(FP,-2),R0	; _j
	ADDN	#1,R0
	STH	R0,@(FP,-2)	; _j
	BRA32	L_680,R12
L_688:				// Pred: L_680
	._LINE	0, 1115
	LDI	#0,R4
L_732:				// Pred: L_688 L_683
	._LINE	0, 1115
L_689:				// Pred: L_732
	._LINE	0, 1115
	._CONFIG	E
	._LINE	0, 1116
	LEAVE
	LD	@SP+,RP
	ADDSP	#12
	RET
	._CONFIG	E
	.global	_Value2Buf_little
	._SYMBOL	"Value2Buf_little", F, 0x8000000f, E, "_Value2Buf_little", F
	._FPARAM	S, 2, F
	._SYMBOL	"pbuf", P, 0x80000002, A, 8
	._POINTER	1
	._SYMBOL	"val", P, 0x80000008, A, 12
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 1130
_Value2Buf_little:
L_380:
	STM	(R4,R5)
	ST	RP,@-SP
	ENTER	#4
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 40
	._CONFIG	S, B
L_381:				// Pred: L_380
	._LINE	0, 1132
	LD	@(FP,12),R1	; _val
	LD	@(FP,8),R0	; _pbuf
	STB	R1,@R0
	._LINE	0, 1133
	LD	@(FP,12),R0	; _val
	LSR	#8,R0
	LD	@(FP,8),R1	; _pbuf
	LDI	#1,R13
	STB	R0,@(R1,R13)
	._LINE	0, 1134
	LD	@(FP,12),R0	; _val
	LSR	#16,R0
	LD	@(FP,8),R1	; _pbuf
	LDI	#2,R13
	STB	R0,@(R1,R13)
	._LINE	0, 1135
	LD	@(FP,12),R0	; _val
	LSR	#24,R0
	LD	@(FP,8),R1	; _pbuf
	LDI	#3,R13
	STB	R0,@(R1,R13)
L_382:				// Pred: L_381
	._LINE	0, 1135
	._CONFIG	E
	._LINE	0, 1136
	LEAVE
	LD	@SP+,RP
	ADDSP	#8
	RET
	._CONFIG	E
	.global	_Value2Buf_Big
	._SYMBOL	"Value2Buf_Big", F, 0x8000000f, E, "_Value2Buf_Big", F
	._FPARAM	S, 2, F
	._SYMBOL	"pbuf", P, 0x80000002, A, 8
	._POINTER	1
	._SYMBOL	"val", P, 0x80000008, A, 12
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 1149
_Value2Buf_Big:
L_383:
	STM	(R4,R5)
	ST	RP,@-SP
	ENTER	#4
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 40
	._CONFIG	S, B
L_384:				// Pred: L_383
	._LINE	0, 1151
	LD	@(FP,12),R1	; _val
	LD	@(FP,8),R0	; _pbuf
	LDI	#3,R13
	STB	R1,@(R0,R13)
	._LINE	0, 1152
	LD	@(FP,12),R0	; _val
	LSR	#8,R0
	LD	@(FP,8),R1	; _pbuf
	LDI	#2,R13
	STB	R0,@(R1,R13)
	._LINE	0, 1153
	LD	@(FP,12),R0	; _val
	LSR	#16,R0
	LD	@(FP,8),R1	; _pbuf
	LDI	#1,R13
	STB	R0,@(R1,R13)
	._LINE	0, 1154
	LD	@(FP,12),R0	; _val
	LSR	#24,R0
	LD	@(FP,8),R1	; _pbuf
	STB	R0,@R1
L_385:				// Pred: L_384
	._LINE	0, 1154
	._CONFIG	E
	._LINE	0, 1155
	LEAVE
	LD	@SP+,RP
	ADDSP	#8
	RET
	._CONFIG	E
	.global	_String2Telphone
	._SYMBOL	"String2Telphone", F, 0x8000000f, E, "_String2Telphone", F
	._FPARAM	S, 2, F
	._SYMBOL	"psrc", P, 0x80000002, A, 8
	._POINTER	1
	._SYMBOL	"tel", P, 0x80000002, A, 12
	._POINTER	1
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 1161
_String2Telphone:
L_691:
	STM	(R4,R5)
	ST	RP,@-SP
	ENTER	#8
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 48
	._CONFIG	S, B
	._SYMBOL	"Hex", V, 0x80000002, A, -4
	._SYMBOL	"i", V, 0x80000001, A, -3
	._SYMBOL	"len", V, 0x80000002, A, -2
	._SYMBOL	"n", V, 0x80000002, A, -1
L_692:				// Pred: L_691
	._LINE	0, 1163
	._LINE	0, 1163
	LDI	#0,R0
	STB	R0,@(FP,-4)	; _Hex
	._LINE	0, 1165
	LDI	#5,R0
	STB	R0,@(FP,-1)	; _n
	._LINE	0, 1167
	LD	@(FP,8),R4	; _psrc
	CALL21	_strlen
	CMP	#12,R4
	BNC32	L_694,R12
L_693:				// Pred: L_692
	._LINE	0, 1167
	LD	@(FP,8),R4	; _psrc
	CALL21	_strlen
	BRA32	L_695,R12
L_694:				// Pred: L_692
	._LINE	0, 1167
	LDI	#12,R4
L_695:				// Pred: L_694 L_693
	._LINE	0, 1167
	STB	R4,@(FP,-2)	; _len
	._LINE	0, 1168
	LD	@(FP,12),R4	; _tel
	LDI	#0,R5
	LDI	#6,R6
	CALL21	_memset
	._LINE	0, 1170
L_696:				// Pred: L_695
	._LINE	0, 1170
	LDUB	@(FP,-2),R0	; _len
	ADDN	#-1,R0
	EXTSB	R0
	STB	R0,@(FP,-3)	; _i
	LDUB	@(FP,-3),R0	; _i
	EXTSB	R0
	CMP	#0,R0
	BLT32	L_703,R12
L_697:				// Pred: L_696
	._LINE	0, 1170
L_698:				// Pred: L_751 L_697
	._LINE	0, 1171
	._LINE	0, 1172
	LDUB	@(FP,-3),R13	; _i
	EXTSB	R13
	LD	@(FP,8),R0	; _psrc
	LDUB	@(R0,R13),R0
	LDI	#48,R5
	SUBN	R5,R0
	STB	R0,@(FP,-4)	; _Hex
	._LINE	0, 1173
	LDUB	@(FP,-3),R0	; _i
	EXTSB	R0
	CMP	#1,R0
	BLT32	L_700,R12
L_699:				// Pred: L_698
	._LINE	0, 1174
	LDUB	@(FP,-3),R13	; _i
	EXTSB	R13
	ADDN	#-1,R13
	LD	@(FP,8),R0	; _psrc
	LDUB	@(R0,R13),R0
	SUBN	R5,R0
	LSL	#4,R0
	LDUB	@(FP,-4),R1	; _Hex
	ADDN	R0,R1
;-------volatile_access
	STB	R1,@(FP,-4)	; _Hex
L_700:				// Pred: L_699 L_698
	._LINE	0, 1176
	LDUB	@(FP,-3),R0	; _i
	EXTSB	R0
	ADDN	#-2,R0
	EXTSB	R0
	STB	R0,@(FP,-3)	; _i
	._LINE	0, 1177
	LDUB	@(FP,-1),R13	; _n
	LDUB	@(FP,-4),R0	; _Hex
	LD	@(FP,12),R1	; _tel
	STB	R0,@(R1,R13)
	._LINE	0, 1178
	LDUB	@(FP,-1),R0	; _n
	ADDN	#-1,R0
	STB	R0,@(FP,-1)	; _n
	._LINE	0, 1179
L_701:				// Pred: L_700
	._LINE	0, 1170
	LDUB	@(FP,-3),R0	; _i
	EXTSB	R0
	CMP	#0,R0
	BLT32	L_703,R12
L_751:				// Pred: L_701
	._LINE	0, 1179
	BRA32	L_698,R12
L_703:				// Pred: L_701 L_696
	._LINE	0, 1179
	._CONFIG	E
	._LINE	0, 1180
	LEAVE
	LD	@SP+,RP
	ADDSP	#8
	RET
	._CONFIG	E
	.global	_GBK_CutUpTo
	._SYMBOL	"GBK_CutUpTo", F, 0x80000002, E, "_GBK_CutUpTo", F
	._FPARAM	S, 2, F
	._SYMBOL	"Pbuf", P, 0x80000002, A, 8
	._POINTER	1
	._SYMBOL	"Len", P, 0x80000004, A, 14
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 1194
_GBK_CutUpTo:
L_705:
	STM	(R4,R5)
	ST	RP,@-SP
	ENTER	#12
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 48
	._CONFIG	S, B
	._SYMBOL	"Ptemp", V, 0x80000002, A, -8
	._POINTER	1
	._SYMBOL	"TempFlag", V, 0x80000002, A, -1
	._SYMBOL	"i", V, 0x80000004, A, -4
L_706:				// Pred: L_705
	._LINE	0, 1196
	._LINE	0, 1197
	LDI	#0,R2
	STB	R2,@(FP,-1)	; _TempFlag
	._LINE	0, 1198
	LDI	#0,R6
	STH	R6,@(FP,-4)	; _i
	._LINE	0, 1199
	LD	@(FP,8),R0	; _Pbuf
	ST	R0,@(FP,-8)	; _Ptemp
	._LINE	0, 1200
L_707:				// Pred: L_706
	._LINE	0, 1200
	STH	R6,@(FP,-4)	; _i
	LDUH	@(FP,-4),R0	; _i
	LDUH	@(FP,14),R1	; _Len
	CMP	R1,R0
	BGE32	L_720,R12
L_708:				// Pred: L_707
	._LINE	0, 1200
L_709:				// Pred: L_718 L_708
	._LINE	0, 1201
	._LINE	0, 1202
	LDUH	@(FP,-4),R13	; _i
	LD	@(FP,-8),R0	; _Ptemp
	LDUB	@(R0,R13),R0
	LDI	#128,R1
	CMP	R1,R0
	BGE32	L_712,R12
L_710:				// Pred: L_709
	._LINE	0, 1203
	._LINE	0, 1204
	LDUH	@(FP,-4),R4	; _i
	LDUH	@(FP,14),R0	; _Len
	ADDN	#-1,R0
	CMP	R0,R4
	BNE32	L_717,R12
L_711:				// Pred: L_710
	._LINE	0, 1205
	._LINE	0, 1206
	LDI	#1,R0
	STB	R0,@(FP,-1)	; _TempFlag
	._LINE	0, 1207
	BRA32	L_720,R12
L_712:				// Pred: L_709
	._LINE	0, 1211
	._LINE	0, 1212
	LDUH	@(FP,-4),R3	; _i
	LDUH	@(FP,14),R0	; _Len
	ADDN	#-2,R0
	CMP	R0,R3
	BNE32	L_714,R12
L_713:				// Pred: L_712
	._LINE	0, 1213
	._LINE	0, 1214
	LDI	#1,R0
	STB	R0,@(FP,-1)	; _TempFlag
	._LINE	0, 1215
	BRA32	L_720,R12
L_714:				// Pred: L_712
	._LINE	0, 1217
	LDUH	@(FP,-4),R5	; _i
	LDUH	@(FP,14),R0	; _Len
	ADDN	#-1,R0
	CMP	R0,R5
	BNE32	L_716,R12
L_715:				// Pred: L_714
	._LINE	0, 1218
	._LINE	0, 1219
	STB	R2,@(FP,-1)	; _TempFlag
	._LINE	0, 1220
	BRA32	L_720,R12
L_716:				// Pred: L_714
	._LINE	0, 1221
	._LINE	0, 1222
	LDUH	@(FP,-4),R0	; _i
	ADDN	#1,R0
	STH	R0,@(FP,-4)	; _i
	._LINE	0, 1223
L_717:				// Pred: L_716 L_710
	._LINE	0, 1224
	LDUH	@(FP,-4),R0	; _i
	ADDN	#1,R0
	STH	R0,@(FP,-4)	; _i
	._LINE	0, 1225
L_718:				// Pred: L_717
	._LINE	0, 1200
	LDUH	@(FP,-4),R1	; _i
	LDUH	@(FP,14),R0	; _Len
	CMP	R0,R1
	BLT32	L_709,R12
L_719:				// Pred: L_718
	._LINE	0, 1226
L_720:				// Pred: L_719 L_715 L_713 L_711
				//	 L_707
	._LINE	0, 1226
	LDUB	@(FP,-1),R4	; _TempFlag
L_721:				// Pred: L_720
	._LINE	0, 1226
	._CONFIG	E
	._LINE	0, 1227
	LEAVE
	LD	@SP+,RP
	ADDSP	#8
	RET
	._CONFIG	E
	._SYMBOL	"uDaysPerMonth", V, 0x80000002, E, "_uDaysPerMonth"
	._ARRAY	1, 1, 11, 0
	.global	__modi
	.global	__umodi
	.global	__divi
	.global	__udivi
	.end	
